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 ?