Created
December 8, 2014 06:06
-
-
Save j0lvera/494fda7e173657c0ea5f to your computer and use it in GitHub Desktop.
Python module structure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""module docstring""" | |
# imports | |
# constants | |
# exception classes | |
# interface functions | |
# classes | |
# internal functions & classes | |
def main(...): | |
... | |
if __name__ == '__main__': | |
status = main() | |
sys.exit(status) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment