summaryrefslogtreecommitdiffstats
path: root/skeletons/python.erb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-03-26 08:25:27 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-03-26 08:25:27 +0200
commit567672be7bef7dcbecf70589dddbe6e193588475 (patch)
treef1d526c7709a5fce2d01c9574583db21c0be2266 /skeletons/python.erb
parent1e2061952df01fe87209156062e060fb69e19ed8 (diff)
downloadvim-567672be7bef7dcbecf70589dddbe6e193588475.zip
vim-567672be7bef7dcbecf70589dddbe6e193588475.tar.gz
add skeletons
Diffstat (limited to 'skeletons/python.erb')
-rw-r--r--skeletons/python.erb42
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( ) )