diff options
| author | Simeon Simeonov | 2020-05-25 09:57:23 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2020-05-25 09:57:23 +0200 |
| commit | 6185b8f74292b15acc427e9b978d1bb4c57038c0 (patch) | |
| tree | db0a9194865e656576755d32ff4bb9e94e18b7ce /.emacs.d/snippets/python-mode/script | |
| parent | eabfcb9092b4ee31acc51357ee681d77f06213c4 (diff) | |
Cleanup Python snippets
Diffstat (limited to '.emacs.d/snippets/python-mode/script')
| -rw-r--r-- | .emacs.d/snippets/python-mode/script | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.emacs.d/snippets/python-mode/script b/.emacs.d/snippets/python-mode/script index 931074a..ac15584 100644 --- a/.emacs.d/snippets/python-mode/script +++ b/.emacs.d/snippets/python-mode/script | |||
| @@ -6,5 +6,10 @@ | |||
| 6 | # -*- coding: utf-8 -*- | 6 | # -*- coding: utf-8 -*- |
| 7 | 7 | ||
| 8 | 8 | ||
| 9 | def main(inargs=None): | ||
| 10 | """main entry point""" | ||
| 11 | $0 | ||
| 12 | |||
| 13 | |||
| 9 | if __name__ == '__main__': | 14 | if __name__ == '__main__': |
| 10 | $0 \ No newline at end of file | 15 | main() |
