aboutsummaryrefslogtreecommitdiff
path: root/my_snippets/python.snippets
diff options
context:
space:
mode:
Diffstat (limited to 'my_snippets/python.snippets')
-rw-r--r--my_snippets/python.snippets30
1 files changed, 0 insertions, 30 deletions
diff --git a/my_snippets/python.snippets b/my_snippets/python.snippets
deleted file mode 100644
index fc3f355..0000000
--- a/my_snippets/python.snippets
+++ /dev/null
@@ -1,30 +0,0 @@
-snippet head "Python source file header" b
-"""
-Description: $1
-Author: Jie-dong Hao (jdhao@hotmail.com)
-Created: `!v strftime("%Y-%m-%d %H:%M:%S%z")`
-"""
-$0
-endsnippet
-
-snippet print "Print value of some variable"
-print("$1".format($2))
-$0
-endsnippet
-
-snippet impa "import FOO as BAR" b
-import ${1:FOO} as ${2:BAR}
-endsnippet
-
-snippet main "Main function boilerplate" b
-def main():
- $0
-
-
-if __name__ == "__main__":
- main()
-endsnippet
-
-snippet sol "solution" b
-solution = Solution()
-endsnippet