summaryrefslogtreecommitdiffstats
path: root/old/skeletons/python.erb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2022-03-07 14:43:44 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2022-03-07 14:43:44 +0100
commitcbcab8684e06379c9f5c51cfc9cac68d8684fe0c (patch)
treed03b04e9a7f8e3aae70e590953408f90deed077c /old/skeletons/python.erb
parent721a7ea65d23e7b149ba73968a1d75727a55b390 (diff)
downloadvim-cbcab8684e06379c9f5c51cfc9cac68d8684fe0c.zip
vim-cbcab8684e06379c9f5c51cfc9cac68d8684fe0c.tar.gz
move to old
Diffstat (limited to 'old/skeletons/python.erb')
-rw-r--r--old/skeletons/python.erb42
1 files changed, 42 insertions, 0 deletions
diff --git a/old/skeletons/python.erb b/old/skeletons/python.erb
new file mode 100644
index 0000000..1e51c7b
--- /dev/null
+++ b/old/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( ) )