If the given path exists.

suggest change

to check if the given path exists

import os
path = '/home/john/temp'
os.path.exists(path)
# Returns False if path does not exist or if the path is a broken symbolic link.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents