file operations

Emile van Sebille emile at fenx.com
Tue Oct 30 08:01:11 EST 2001


"Kerstin" <kerstin.dressler at web.de> wrote in message
news:bbdd9a89.0110300230.70996c4c at posting.google.com...
> Hi,
> I need to do the following file operations:
>
> begin loop
> - read file
> - replace something in the file (seem to work)
> - write file
> end loop
>

It looks like you've gotten as far as replacing.

For write, make sure you've open'd the file setting mode to 'w'.

If it still doesn't work, post some code so we can spot a specific problem.

HTH,


--

Emile van Sebille
emile at fenx.com

---------




More information about the Python-list mailing list