Periksa apakah ada jalur OS melalui python

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