Does Python cache repeatedly accessed files?

Solution 1:

No, Python is just a language and doesn't really do anything on its own. A particular Python library might implement caching, but the standard functions you use to open and read files don't do so. The higher-level file-loading functions in Pandas and the CSV module don't do any caching either.

The operating system might do some caching of its own, but you can't control that from within Python.