PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Blog available for sell
This blog is available for sale. Please 'contact us' if interested.
Advertise with us
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.
© 2024-2025 Python Circle
Contact
Sponsor
Archive
Sitemap