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