Question
Explain how to delete a file in Python?
Answer
By using a command os.remove (filename) or os.unlink(filename)
š² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.
Explain how to delete a file in Python?
By using a command os.remove (filename) or os.unlink(filename)
š² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.