summary refs log tree commit diff
path: root/snippets/python-mode/main
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-06-01 19:35:59 -0700
committerFranck Cuny <franck@fcuny.net>2023-06-01 19:35:59 -0700
commita187752c824b47052d33d3bc12749b5a7d2e8191 (patch)
treed939397496dcae8a7634a93b159fab57ee1752ec /snippets/python-mode/main
parentelfeed: add more feeds (diff)
downloademacs.d-a187752c824b47052d33d3bc12749b5a7d2e8191.tar.gz
🤡
Change-Id: I06b104d79deac199f9cd9cdae705e333d23cc852
Diffstat (limited to 'snippets/python-mode/main')
-rw-r--r--snippets/python-mode/main9
1 files changed, 9 insertions, 0 deletions
diff --git a/snippets/python-mode/main b/snippets/python-mode/main
new file mode 100644
index 0000000..b1564a8
--- /dev/null
+++ b/snippets/python-mode/main
@@ -0,0 +1,9 @@
+# -*- mode: snippet -*-
+# name: main
+# key: main
+# --
+def main():
+    pass
+
+if __name__ == "__main__":
+    main()
\ No newline at end of file