diff options
| author | Michal Hanus <hanus.michal@divelit.cz> | 2024-03-02 18:49:55 +0100 |
|---|---|---|
| committer | Michal Hanus <hanus.michal@divelit.cz> | 2024-03-02 18:49:55 +0100 |
| commit | aab38f32e0a02e43565a554d0a76ff65636499b8 (patch) | |
| tree | f3f00df05c63228c69a338e80fd0e7d02986e8cf /my_snippets/python.snippets | |
| parent | 99353a355321d68ef4fb3c26291084b23e8f4978 (diff) | |
Diffstat (limited to 'my_snippets/python.snippets')
| -rw-r--r-- | my_snippets/python.snippets | 30 |
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 |
