aboutsummaryrefslogtreecommitdiff
path: root/template/python
diff options
context:
space:
mode:
Diffstat (limited to 'template/python')
-rw-r--r--template/python/base-main.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/template/python/base-main.py b/template/python/base-main.py
new file mode 100644
index 0000000..e40b7ba
--- /dev/null
+++ b/template/python/base-main.py
@@ -0,0 +1,8 @@
+# vim: fileencoding=utf-8
+
+def main():
+ {{_cursor_}}
+
+if __name__ == '__main__':
+ main()
+