os.close()

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.

doc_python
2016-10-07 17:38:42
Comments
Leave a Comment

Please login to continue.