On May 10, 7:11 pm, Jon Pentland <[EMAIL PROTECTED]> wrote:
> I don't really see the use for being able to do that. Have you tried
>
Well, I think I found a reason and it probably happens quite a bit.
I open the file and read it into a list. I pop some elements from the
list for processing and th
En Thu, 10 May 2007 21:11:16 -0300, Jon Pentland <[EMAIL PROTECTED]>
escribió:
> I don't really see the use for being able to do that. Have you tried
> doing it with the 'app' mode?, But I am guessing that it is just an
> advanced mode spawned from 'w'. So, no, I don't think you can do this.
In
I don't really see the use for being able to do that. Have you tried
doing it with the 'app' mode?, But I am guessing that it is just an
advanced mode spawned from 'w'. So, no, I don't think you can do this.
--
http://mail.python.org/mailman/listinfo/python-list
> After reading a file is it possible to write to it without first
> closing it? I tried opening with 'rw' access and re-winding. This does
> not seem to work unless comments are removed.
>
>
> Also, does close force a flush?
>
> Thanks,
>
> jh
>
> #~~
>
> f = open('c:\\