newbie Q: delete list few lines in file

Peter Hansen peter at engcorp.com
Sun Jun 30 00:33:12 EDT 2002


Hans Nowak wrote:
> 
> Peter Hansen wrote:
> 
> >>* how to write to file inplace? (or, do i write to a new file, then
> >>delete original, and rename the new file?)
> >
> > You cannot write files in place.
> 
> <nitpick>
> 
> Sure you can:

[snip proof]

Of course, but we were answering a newbie's questions, right?

-trying-not-to-complicate-things-ly yr's,
 Peter



More information about the Python-list mailing list