msvcrt.open_osfhandle(handle, flags)
Create a C runtime file descriptor from the file handle handle. The flags parameter should be a bitwise OR of os.O_APPEND
, os.O_RDONLY
, and os.O_TEXT
. The returned file descriptor may be used as a parameter to os.fdopen()
to create a file object.
Please login to continue.