(easy question) Find and replace multiple items
Simon Forman
rogue_pedro at yahoo.com
Tue Aug 8 17:02:06 EDT 2006
ds4ff1z wrote:
> Hello, i'm looking to find and replace multiple characters in a text
> file (test1). I have a bunch of random numbers and i want to replace
> each number with a letter (such as replace a 7 with an f and 6 with a
> d). I would like a suggestion on an a way to do this. Thanks
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/81330
More information about the Python-list
mailing list