Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (33 sloc) 626 Bytes
snippet class
class ${1:``Snippet_PythonClassNameFromFilename()``}(${2:data}):
snippet def
def ${1:name}(${2:data}):
snippet for
for ${1:var} in ${2:type}:
snippet from
from ${1:module} import ${2:name}
snippet get
def get_${1:name}(self):
return self._$1
snippet ifmain
if __name__ == '__main__':
snippet import
import ${1:module}
snippet init
def __init__(self, ${1:args}):
snippet set
def set_${1:name}(self, ${2:value}):
snippet try
except ${2:Exception}
Something went wrong with that request. Please try again.