Please explain me how to check whether a file exists using Python.
You can use the os.path.isfile function:
Yes, that does make sense. I've never heard of that one though, thanks for the new technique!
It looks like you're new here. If you want to get involved, click one of these buttons!