diff options
Diffstat (limited to 'my_snippets/python.snippets')
| -rw-r--r-- | my_snippets/python.snippets | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/my_snippets/python.snippets b/my_snippets/python.snippets new file mode 100644 index 0000000..e6ecb78 --- /dev/null +++ b/my_snippets/python.snippets @@ -0,0 +1,14 @@ +snippet head "Python source file header" b +""" +Description: $1 +Author: Jie-dong Hao +Date: `!v strftime("%Y-%m-%d %H:%M:%S%z")` +Update: `!v strftime("%Y-%m-%d %H:%M:%S%z")` +""" +$0 +endsnippet + +snippet print "Print value of some variable" +print("$1".format($2)) +$0 +endsnippet |
