write to the same file from multiple processes at the same time?

Christopher Weimann csw at k12hq.com
Fri May 27 18:27:26 EDT 2005


On 05/27/2005-06:02PM, Peter Hansen wrote:
> 
> Hmm... just tried it: you're right!  On the other hand, the results were 
> unacceptable: each process has a separate file pointer, so it appears 
> whichever one writes first will have its output overwritten by the 
> second process.

Did you open the files for 'append' ? 




More information about the Python-list mailing list