diff options
Diffstat (limited to 'skeletons/python.erb')
-rw-r--r-- | skeletons/python.erb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/skeletons/python.erb b/skeletons/python.erb new file mode 100644 index 0000000..1e51c7b --- /dev/null +++ b/skeletons/python.erb @@ -0,0 +1,42 @@ +<%= header 'python.hdr' %> + +""" Module Description """ + +#---------------------------------------------------------------------------- + +__version__ = '0.1.0' + +#---------------------------------------------------------------------------- + +#import + +#---------------------------------------------------------------------------- + +__all__ = [ + '<%= @class_name %>' + ] + +#---------------------------------------------------------------------------- +class <%= @class_name %>: + + def __init__( self ): + pass + +#---------------------------------------------------------------------------- +def usage(): + import os.path + name = os.path.basename( sys.argv[0] ) + print '\tusage : %s ' % ( name ) + return 1 + +#---------------------------------------------------------------------------- +def main( ): + return 0 + +#---------------------------------------------------------------------------- + +if __name__ == '__main__': + import sys + if len(sys.argv)<1: + sys.exit( usage() ) + sys.exit( main( ) ) |