python script to check if a file is present
#7
python:
import os
dirname = "temp"
#check directory exists
if(os.path.exists(dirname)):
print("Directory Exists")
else:
print("Directory does not exists")

more on...folder exists
Reply


Messages In This Thread
RE: python script to check if a file is present - by leneborma - 2020-02-12, 07:09
Logout Mark Read Team Forum Stats Members Help
python script to check if a file is present0