diff options
Diffstat (limited to '.emacs.d/snippets/python-mode.statnett/script')
| -rw-r--r-- | .emacs.d/snippets/python-mode.statnett/script | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.emacs.d/snippets/python-mode.statnett/script b/.emacs.d/snippets/python-mode.statnett/script new file mode 100644 index 0000000..3246334 --- /dev/null +++ b/.emacs.d/snippets/python-mode.statnett/script | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: script | ||
| 3 | # key: script | ||
| 4 | # -- | ||
| 5 | #!/usr/bin/env python | ||
| 6 | |||
| 7 | |||
| 8 | def main(inargs=None): | ||
| 9 | """main entry point""" | ||
| 10 | $0 | ||
| 11 | |||
| 12 | |||
| 13 | if __name__ == "__main__": | ||
| 14 | main() | ||
