How to delete a file or folder in Python?
Inactive Tutor
answered 05/03/19
Quoted from StackOverflow on the subject:
os.remove()
os.rmdir()
shutil.rmtree()
pathlib.Path.unlink()
pathlib.Path.rmdir()
Still looking for help? Get the right answer, fast.
OR
Find an Online Tutor Now
Choose an expert and meet online.
No packages or subscriptions, pay only for the time you need.