summaryrefslogtreecommitdiff
path: root/snippets/python-mode/print
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--snippets/python-mode/print5
-rw-r--r--snippets/python-mode/print format5
2 files changed, 10 insertions, 0 deletions
diff --git a/snippets/python-mode/print b/snippets/python-mode/print
new file mode 100644
index 0000000..2392fbd
--- /dev/null
+++ b/snippets/python-mode/print
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: print
+# key: print
+# --
+print("$0") \ No newline at end of file
diff --git a/snippets/python-mode/print format b/snippets/python-mode/print format
new file mode 100644
index 0000000..704cb53
--- /dev/null
+++ b/snippets/python-mode/print format
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: print format
+# key: printf
+# --
+print("$1".format($0)) \ No newline at end of file