Code anntotations (copyright, autor, etc) in your code

mattia gervaz at gmail.com
Thu Mar 26 16:43:37 EDT 2009


Hi all, which are the usual comments that you put at the beginning of 
your code to explain e.g. the author, the usage, the license etc?

I've found useful someting like:
#-----------------------------------------------------------------------------
# Name:        About.py
# Purpose:
#
# Author:      
#
# Created:     2009
# Copyright:   (c) 2009
# Licence:     GPL
#-----------------------------------------------------------------------------

others put something like

__author__ = "Name Surname"
__year__   = 2009

What do you use?



More information about the Python-list mailing list