check if directory exists in python code example Example: python check if folder exists os.path.isdir("/home/el")