0 votes
in Python by
Can you please Explain how to delete a file in Python?

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)

...