diff options
| author | Simeon Simeonov | 2021-01-12 20:05:37 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2021-01-12 20:05:37 +0100 |
| commit | 4996a6403108a226d4ff1d73b880207cc80284bd (patch) | |
| tree | 4ed642a366a34775d3401228db1f7bb10752b1b4 /.emacs.d/snippets/python-mode.statnett/ifmain | |
| parent | 4fbfa5db6d2819f528698b78d15634affdf9b9a9 (diff) | |
Add snippets/python-mode.statnett
Diffstat (limited to '.emacs.d/snippets/python-mode.statnett/ifmain')
| -rw-r--r-- | .emacs.d/snippets/python-mode.statnett/ifmain | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.emacs.d/snippets/python-mode.statnett/ifmain b/.emacs.d/snippets/python-mode.statnett/ifmain new file mode 100644 index 0000000..45f2fe2 --- /dev/null +++ b/.emacs.d/snippets/python-mode.statnett/ifmain | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: ifmain | ||
| 3 | # key: ifm | ||
| 4 | # -- | ||
| 5 | if __name__ == "__main__": | ||
| 6 | ${1:main()} \ No newline at end of file | ||
