common header format python code example
Example: common header format python
# The first line of each file shoud be #!/usr/bin/env python
# Next should be the docstring with a description.
# All code, including import statements, should follow the docstring.
# Import built-in modules first, followed by third-party modules, followed by any changes to the path and your own modules.
# Next should be authorship information
__author__ = "Rob Knight, Gavin Huttley, and Peter Maxwell"
__copyright__ = "Copyright 2007, The Cogent Project"
__credits__ = ["Rob Knight", "Peter Maxwell", "Gavin Huttley",
"Matthew Wakefield"]
__license__ = "GPL"
__version__ = "1.0.1"
__maintainer__ = "Rob Knight"
__email__ = "[email protected]"
__status__ = "Production"