Skip to content

Instantly share code, notes, and snippets.

@krak3n
Created July 30, 2014 10:11
Show Gist options
  • Save krak3n/355a8495d8382d7c57eb to your computer and use it in GitHub Desktop.
Save krak3n/355a8495d8382d7c57eb to your computer and use it in GitHub Desktop.
Ultisnips Python Header Snippet
snippet #! "Shebang header for python scripts" b
#!/usr/bin/env python
# encoding: utf-8
"""
$1
`!p snip.rv = ''.join(['=' for i in range(0, len(t[1]))])`
$2
"""
endsnippet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment