How to check if File or Directory Exists in Python

How to check if File or Directory Exists in Python