예제 #1
0
def exists(path):
    """Whether the path exists (using xbmcvfs)"""
    # File or folder (folder must end with slash or backslash)
    from xbmcvfs import exists as vfsexists
    return vfsexists(from_unicode(path))
def exists(path):
    """Whether the path exists (using xbmcvfs)"""
    from xbmcvfs import exists as vfsexists
    return vfsexists(path)
예제 #3
0
def exists(path):
    ''' Whether the path exists (using xbmcvfs)'''
    from xbmcvfs import exists as vfsexists
    return vfsexists(path)