mode for file created by open

Cameron Simpson cs at zip.com.au
Sat Jun 9 18:57:14 EDT 2012


On 09Jun2012 07:42, Neal Becker <ndbecker2 at gmail.com> wrote:
| Cameron Simpson wrote:
| Doesn't anyone else think it would be a good addition to open to specify a file 
| creation mode?  Like posix open?  Avoid all these nasty workarounds?

-1

open() is cross platform.
os.open() is platform specific, generally POSIX.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Is it true, Sen. Bedfellow, that your wife rides with bikers?   - Milo Bloom



More information about the Python-list mailing list