Answers for "delete file with os"

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

Python Answers by Framework

Browse Popular Code Answers by Language