ICI Modules: sys: open
Modules by name : by typeSynopsis
int = sys.open(string, int [, int])Description
Opens the file named in the first argument with the access mode specified by the second. The access mode is formed from the logical or of the following values,
The optional third argument is used if the O_CREAT flag is set and specifies the permissions for the created file.
- sys.O_RDONLY
- sys.O_WRONLY
- sys.O_RDWR
- sys.O_APPEND
- sys.O_CREAT
- sys.O_TUNC
- sys.O_EXCL
- sys.O_SYNC
- sys.O_NDELAY
- sys.O_NONBLOCK
- sys.O_BINARY (Windows)