Answers for "how to delete files using os python"

36

python os remove file

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

delete image with python

import os
os.remove("yourimagePath.jpg")
Posted by: Guest on December-26-2020

Code answers related to "how to delete files using os python"

Python Answers by Framework

Browse Popular Code Answers by Language