Python Programming - Reading and Writing Files - Discussion

Discussion Forum : Reading and Writing Files - General Questions (Q.No. 16)
16.
What is the purpose of the os.remove() function?
To check if a file exists
To remove a directory
To delete a file
To rename a file
Answer: Option
Explanation:
The os.remove() function is used to delete a file in Python.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.