How do I CREATE a file from Python? I normally just OPEN an already
existing file.. Now I need to CREATE one.. open() will not do it..
I looked in the INFO file for builtin functions and could not find one..
I can use posix.open() but that requires me to look in <sys/fcntl.h>
for the creation mask and then that only returns an int instead of
Also, why are there no flags defined in the posix module?
O_RDONLY, O_WRONLY, O_RDWR, O_APPEND, O_SYNC, O_APPEND, O_CREAT,
O_TRUNC, O_EXCL, O_NOCTTY
Lance Ellinghouse email@example.com UNIX Systems Support firstname.lastname@example.org Mark V Systems Limited Voice: +1 818 995 7671 FAX: +1 818 995 4267