(path)
return os.access(path, os.X_OK)
Test for executable file.
Test for executable file.
Test for executable file .
def executable(path):
    """Test for executable file."""
    return os.access(path, os.X_OK)
def executable ( path ) : return os . access ( path , os . X_OK )