perl to python
Jarek Zgoda
jzgoda at gazeta.usun.pl
Sun May 9 15:57:29 EDT 2004
Olivier Scalbert <olivier.scalbert at algosyn.com> pisze:
>>>What is the python way of doing this :
>>>perl -pi -e 's/string1/string2/' file
>>
>>Use sed.
>
> yes, but in python ?
Are you paid for doing everything in Python? This problem is much easier
to sort out by other means.
But of course, it is possible. I'm pretty sure you will get such
solution here.
--
Jarek Zgoda
http://jpa.berlios.de/
More information about the Python-list
mailing list