Python: Find Out If a File Exists or Not Using isfile() Function last updated November 18, 2012 in Categories PythonHow can I check if a file called /etc/resolv.conf exists or not using Python program?