summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/python-mode/with-open
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/snippets/python-mode/with-open')
-rw-r--r--.emacs.d/snippets/python-mode/with-open6
1 files changed, 0 insertions, 6 deletions
diff --git a/.emacs.d/snippets/python-mode/with-open b/.emacs.d/snippets/python-mode/with-open
deleted file mode 100644
index 77c7210..0000000
--- a/.emacs.d/snippets/python-mode/with-open
+++ /dev/null
@@ -1,6 +0,0 @@
1# -*- mode: snippet -*-
2# name: with-open
3# key: wo
4# --
5with open(${1:"filename"}${2:, encoding="${3:utf-8}"}${4:, mode="${5:w}"}) as ${6:myfile}:
6 $0 \ No newline at end of file