PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
What does os.close(f) do?
A. terminate the process f
B. terminate the process f if f is not responding
C. close the file descriptor f
D. return an integer telling how close the file pointer is to the end of file
Show Answer
Next Question
Correct Answer:
C
Explanation: When a file descriptor is passed as an argument to os.close() it will be closed.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap