Answers for "dellete file in python"

0

dellete file in python

import os
if os.path.exists("demofile.txt"):
	os.remove("demofile.txt")
else:
	print("The file does not exist")
Posted by: Guest on August-16-2021

Python Answers by Framework

Browse Popular Code Answers by Language