perl to python

Olivier Scalbert olivier.scalbert at algosyn.com
Sun May 9 15:44:03 EDT 2004


Jarek Zgoda wrote:

>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 ?



More information about the Python-list mailing list