Vidyalelo
Python · Q68

Files Handling in Python

Programming · Python · question 68

Q68

How can you remove a file in Python?

A.
By using the os.remove() function
Answer
B.
By using the file.remove() method
C.
By using the file.delete() method
D.
By using the remove() method

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board