(path)
return True
Open a file or folder from a path.
Open a file or folder from a path.
Open a file or folder from a path .
def open(path):
    """Open a file or folder from a path."""
    if not path:
        return False
    try:
        os.startfile(path)
    except (OSError, FileNotFoundError, WindowsError):
        return False
    return True
def open ( path ) : if not path : return False try : os . startfile ( path ) except ( OSError , FileNotFoundError , WindowsError ) : return False return True