summaryrefslogtreecommitdiffstats
path: root/old/skeletons/python.erb
blob: 1e51c7b487cd491b9949a532a5a06eaf03c66349 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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( ) )