diff --git a/snippets/python.snippets b/snippets/python.snippets new file mode 100644 index 0000000..1717812 --- /dev/null +++ b/snippets/python.snippets @@ -0,0 +1,12 @@ +# Python SnipMate snippets + +snippet main + def main(): + ${0:pass} + + + if __name__ == '__main__': + try: + main() + except KeyboardInterrupt: + exit(130)