writing to a file (atomic operation)

Brian Lee senux at senux.com
Sun Jun 2 01:09:09 EDT 2002


Is this a atomic operation?

open('/tmp/test.log', 'a').write('test\n')

from py newbie.

-- 
 ____       
 |o | i   / Brian Lee    <senux at senux.com>
 #######|<  Web - http://www.senux.com/en/
(x-x-x-x) \ GnuPG public key - 0x46C763A3





More information about the Python-list mailing list