Created
November 12, 2013 19:13
-
-
Save chriszf/7436943 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Meringue:shenanigans chriszf$ python test.py | |
fish | |
this is a fish | |
s/"fish"/"squid"/g | |
squid | |
this is a squid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import lib.vim | |
a = "fish" | |
b = "this is a fish" | |
print a | |
print b | |
s/"fish"/"squid"/g | |
print """s/"fish"/"squid"/g""" | |
print a | |
print b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment