os.close(fd)
Close file descriptor fd.
Note
This function is intended for low-level I/O and must be applied to a file descriptor as returned by os.open()
or pipe()
. To close a “file object” returned by the built-in function open()
or by popen()
or fdopen()
, use its close()
method.
Please login to continue.