Sprawdź, czy ścieżka systemu operacyjnego istnieje przez Python

os.path.exists(path_to_file)
Code language: CSS (css)
Clear Chinchilla