Initial commit.

This commit is contained in:
yan
2011-11-17 15:45:33 -06:00
commit 882015bc6d
1819 changed files with 111625 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
#!/usr/bin/env python
# * coding: UTF8 *
+2
View File
@@ -0,0 +1,2 @@
class ${1:``Snippet_PythonClassNameFromFilename()``}(${2:data}):
${3}
+2
View File
@@ -0,0 +1,2 @@
class ${1:`Snippet_PythonClassNameFromFilename()`}(${2:data}):
${3}
+1
View File
@@ -0,0 +1 @@
class ${1:ExceptionName}(${2:Exception}): pass
+3
View File
@@ -0,0 +1,3 @@
class ${1:`Snippet_PythonClassNameFromFilename()`}(${2:data}):
def __init__(self, ${3:args}):
${4}
+2
View File
@@ -0,0 +1,2 @@
def ${1:name}(${2:data}):
${3}
+2
View File
@@ -0,0 +1,2 @@
for ${1:var} in ${2:type}:
${3:pass}
+1
View File
@@ -0,0 +1 @@
from ${1:module} import ${2:name}
+2
View File
@@ -0,0 +1,2 @@
def get_${1:name}(self):
return self._$1
+2
View File
@@ -0,0 +1,2 @@
if (${1:condition}):
${2}
+4
View File
@@ -0,0 +1,4 @@
if (${1:condition}):
${2}
else:
${3}
+2
View File
@@ -0,0 +1,2 @@
if __name__ == '__main__':
${1}
+1
View File
@@ -0,0 +1 @@
import ${1:module}
+2
View File
@@ -0,0 +1,2 @@
def __init__(self, ${1:args}):
${2}
+2
View File
@@ -0,0 +1,2 @@
def set_${1:name}(self, ${2:value}):
${3}
+4
View File
@@ -0,0 +1,4 @@
try:
${1}
except ${2:Exception}:
${3}