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