If the given path exists.
suggest changeto 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.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents