Sprawdź plik ESTTNECE Python
from os.path import exists
file_exists = exists(path_to_file)
print(file_exists) # Returns True or False
FullO0
from os.path import exists
file_exists = exists(path_to_file)
print(file_exists) # Returns True or False