Added header for python scripts
This commit is contained in:
parent
b15199bab1
commit
fc0d40e4aa
@ -1,6 +1,14 @@
|
||||
###########################################################################
|
||||
# TEXTMATE SNIPPETS #
|
||||
###########################################################################
|
||||
|
||||
#! header
|
||||
snippet #!
|
||||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet ifmain "ifmain"
|
||||
if __name__ == '__main__':
|
||||
${1:main()}$0
|
||||
|
Loading…
Reference in New Issue
Block a user