os.path module:
*
os.path
*
If the given path exists.
to check if the given path exists
path = '/home/john/temp'
os.path.exists(path)
#this returns false if path doesn't exist or if the path is a broken symbolic link