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

gabor gabor at nekomancer.net
Mon May 30 05:13:43 EDT 2005


jean-marc wrote:
> Sorry, why is the temp file solution 'stupid'?, (not
> aesthetic-pythonistic???) -  it looks OK: simple and direct, and
> certainly less 'heavy' than any db stuff (even embedded)
> 
> And  collating in a 'official log file' can be done periodically by
> another process, on a time-scale that is 'useful' if not
> instantaneous...
> 
> Just trying to understand here...
> 

actually this is what i implemented after asking the question, and works 
fine :)

i just thought that maybe there is a solution where i don't have to deal 
  with 4000 files in the temp folder :)

gabor



More information about the Python-list mailing list