@staticmethod
def parse_path(path):
    if isinstance(path, str):
        p = path.rstrip('/').split('/')
    elif isinstance(path, bytes):
        p = path.decode('utf-8').rstrip('/').split('/')
    else:
        p = list(path)
    return p
@staticmethod
def parse_path(path):
    if isinstance(path, str):
        p = path.rstrip('/').split('/')
    elif isinstance(path, bytes):
        p = path.decode('utf-8').rstrip('/').split('/')
    else:
        p = list(path)
    return p