diff options
| author | Simeon Simeonov | 2024-01-10 21:49:17 +0100 |
|---|---|---|
| committer | Simeon Simeonov | 2024-01-10 21:49:17 +0100 |
| commit | ff160687915804b109fe626a5c7fbe949f227106 (patch) | |
| tree | 9838ea050edf4288234a16206aecef7c9825c62f /.emacs.d/snippets/python-mode.statnett/script | |
| parent | 7d08994f744685d6237ae3b4defde3eb2441fa42 (diff) | |
Update markdown-mode and yasnippet. Add some new Python snippets
Diffstat (limited to '.emacs.d/snippets/python-mode.statnett/script')
| -rw-r--r-- | .emacs.d/snippets/python-mode.statnett/script | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.emacs.d/snippets/python-mode.statnett/script b/.emacs.d/snippets/python-mode.statnett/script index 2e8cc35..4490e07 100644 --- a/.emacs.d/snippets/python-mode.statnett/script +++ b/.emacs.d/snippets/python-mode.statnett/script | |||
| @@ -3,12 +3,11 @@ | |||
| 3 | # key: script | 3 | # key: script |
| 4 | # -- | 4 | # -- |
| 5 | #!/usr/bin/env python | 5 | #!/usr/bin/env python |
| 6 | # -*- coding: utf-8 -*- | ||
| 7 | 6 | ||
| 8 | 7 | ||
| 9 | def main(inargs=None): | 8 | def main(inargs=None): |
| 10 | """main entry point""" | 9 | """main entry point""" |
| 11 | $0 | 10 | $0 |
| 12 | 11 | ||
| 13 | if __name__ == '__main__': | 12 | if __name__ == "__main__": |
| 14 | main() | 13 | main() |
