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 fact you can read and write the same file, using the r+/w+/a+ modes.  
You may need a seek() when switching from reading to writing or viceversa  
(unless mode is a+ perhaps), but I can't find that in the docs; perhaps  
Python itself already takes care of this internally.

-- 
Gabriel Genellina

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to