Permalink
Browse files

add some snippets

  • Loading branch information...
1 parent b8fb132 commit 2c20b070ca1da13b59a972abd0656d57bdc79fd2 @gawel committed Dec 14, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 snippets/python.snippets
View
@@ -5,6 +5,11 @@ snippet from
snippet ret
return ${1:value}
+snippet with
+ with open(${1:filename}${2:,'w'}) as ${3:fd}:
+ for line in fd:
+ ${4}
+
snippet fin
[${1:item} for ${2:$1} in ${3}]

0 comments on commit 2c20b07

Please sign in to comment.