From 60c1b9387cd98b3ba875bddb13c86e9e090cb1f1 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 10 Aug 2014 12:21:13 +0100 Subject: init --- templates/python.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 templates/python.py (limited to 'templates/python.py') diff --git a/templates/python.py b/templates/python.py new file mode 100644 index 0000000..9bba65e --- /dev/null +++ b/templates/python.py @@ -0,0 +1,24 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +""" +template.py +bla bla + +Patrick Simianer +YYYY-MM-DD +""" + +import sys + + +def main(): + try: + arg = sys.argv[1] + except IndexError: + sys.stderr.write('Usage: %s \n'%sys.argv[0]) + sys.exit(1) + +if __name__ == '__main__': + main() + -- cgit v1.2.3