Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check file existtnece python

from os.path import exists

file_exists = exists(path_to_file)

print(file_exists) # Returns True or False
Source by www.pythontutorial.net #
 
PREVIOUS NEXT
Tagged: #check #file #existtnece #python
ADD COMMENT
Topic
Name
7+9 =