in Python by
Q:
Can you please Explain how to delete a file in Python?

▼ Show 2 Answers

0 votes
by
By using a command os.remove (filename) or os.unlink(filename)
0 votes
by

Files can be deleted in Python by using the command os.remove (filename) or os.unlink(filename)

Python
Learn More with Madanswer

Related questions

0 votes
asked Jun 6, 2020 in PHP by SakshiSharma
...