Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python open file exception

try:
  with open("path	ofile", "r"):
    ...
except FileNotFoundError:
  print("file does not exist :(")
 
PREVIOUS NEXT
Tagged: #python #open #file #exception
ADD COMMENT
Topic
Name
3+5 =