Answers for "how to delete a file in python using os"

36

python os remove file

import os
os.remove("filename.txt")
Posted by: Guest on February-11-2020

Code answers related to "how to delete a file in python using os"

Python Answers by Framework

Browse Popular Code Answers by Language