0 votes
in Python by
How a file is deleted in Python?

1 Answer

0 votes
by
The file can be deleted by either of these commands:

os.remove(filename)

os.unlink(filename)
...