Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to check if item is file in python or not

import os
filename = "creating file with python function"#your file name
print("Is",filename,"a file",os.path.isfile(file_oprator))
 
PREVIOUS NEXT
Tagged: #check #item #file #python
ADD COMMENT
Topic
Name
5+8 =