diff options
Diffstat (limited to '.emacs.d/mysnippets/text-mode/python-mode/pscript')
| -rw-r--r-- | .emacs.d/mysnippets/text-mode/python-mode/pscript | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.emacs.d/mysnippets/text-mode/python-mode/pscript b/.emacs.d/mysnippets/text-mode/python-mode/pscript new file mode 100644 index 0000000..8fdb376 --- /dev/null +++ b/.emacs.d/mysnippets/text-mode/python-mode/pscript | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | #contributor : Simeon Simeonov <blackmore@pichove.org> | ||
| 2 | #name : script setup | ||
| 3 | #expand-env: ((yas/indent-line 'fixed) (yas/wrap-around-region 'nil)) | ||
| 4 | # -- | ||
| 5 | #!/usr/bin/env python | ||
| 6 | # -*- coding: utf-8 -*- | ||
| 7 | |||
| 8 | def main(): | ||
| 9 | $0 | ||
| 10 | |||
| 11 | if __name__ == '__main__': | ||
| 12 | main() | ||
