Problem with subprocess module on Windows with open file in appendmode
When I run this little test program on Linux:
the file log.tmp is appended to each time I run it.
When I run it on Windows, however, the file log.tmp gets
overwritten each time I run it.
Though I can make it append on Windows like this:
f = open("log.tmp", "a")
I don't*understand why that should be necessary.
Is this a Python/subprocess bug on Windows?
(I tested with Python 2.5.1 and Python 2.6.2 on Windows XP SP2).
Get more done like never before with Yahoo!7 Mail.
Learn more: http://au.overview.mail.yahoo.com/
|All times are GMT. The time now is 08:50 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.