|
OLD | NEW |
---|---|
(Empty) | |
1 import sys | |
jeanluc1
2011/02/01 07:23:47
Even though it is small, we should probably put th
bradn
2011/02/01 17:41:25
Done.
| |
2 | |
3 data = open(sys.argv[3], 'r').read() | |
4 fh = open(sys.argv[4], 'w') | |
5 fh.write(data.replace(sys.argv[1], sys.argv[2])) | |
6 fh.close() | |
OLD | NEW |