summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/python-mode/ifmain
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/snippets/text-mode/python-mode/ifmain')
-rw-r--r--emacs.d/snippets/text-mode/python-mode/ifmain4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/python-mode/ifmain b/emacs.d/snippets/text-mode/python-mode/ifmain
new file mode 100644
index 0000000..6224923
--- /dev/null
+++ b/emacs.d/snippets/text-mode/python-mode/ifmain
@@ -0,0 +1,4 @@
+#name : if __name__ == '__main__': ...
+# --
+if __name__ == '__main__':
+ $0 \ No newline at end of file