Python Open File wyjątek

try:
  with open("path\to\file", "r"):
    ...
except FileNotFoundError:
  print("file does not exist :(")
floating monkey