""" def main (): print ( ascii_snek ) if _name_ = '_main_' : main () And so, they get to work, writing snek.py: ascii_snek = """ \ Your first job as CEO is, obviously, to instruct your R&D department to develop a snek prototype ASAP. !! WARNING: TERRIBLE HUMOR AHEAD !! Snek, Inc.Ĭongratulations! You have just been appointed CEO of “Snek Semiconductors and Software, Incorporated”. This is super useful if you want to let other people write Python packages that interact or add abilities to your existing Python package at runtime. I’m going to show you how to use entry points as a modular plug-in architecture. Most people know entry points as the little snippet that you put in your setup.py file to make your package available as a script on the command line, but they can be used for so much more. In this post I’m going to explain about entry points in Python.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |