Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Check if a file exists in python

from os.path import exists

file_exists = exists(path_to_file)
Source by www.pythontutorial.net #
 
PREVIOUS NEXT
Tagged: #Check #file #exists #python
ADD COMMENT
Topic
Name
5+7 =