(path)
return base.startswith(u'.') and (base not in (u'.', u'..'))
File is hidden.
File is hidden.
File is hidden .
def is_hidden(path):
    """File is hidden."""
    # dot files are hidden on unixy systems
    base = os.path.basename(path)
    return base.startswith(u'.') and (base not in (u'.', u'..'))
def is_hidden ( path ) : # dot files are hidden on unixy systems base = os . path . basename ( path ) return base . startswith ( u'.' ) and ( base not in ( u'.' , u'..' ) )