

InterviewSolution
Saved Bookmarks
1. |
How do you delete a file?(a) del(fp)(b) fp.delete()(c) os.remove(‘file’)(d) os.delete(‘file’)The question was posed to me by my college director while I was bunking the class.This interesting question is from Files topic in portion Regular Expressions and Files of Python |
Answer» Right CHOICE is (c) os.remove(‘file’) |
|