

def main():
    parser = _get_parser()
    args = parser.parse_args()
    src = args.__dict__.pop('src').split(':')
    if (len(src) == 1):
        (filename, nodename) = (args[0], '/')
    else:
        (filename, nodename) = src
        if (nodename == ''):
            nodename = '/'
    with tables.open_file(filename, 'r') as f:
        tree_str = get_tree_str(f, nodename, **args.__dict__)
        print(tree_str)
    pass

dataset/ETHPy150Open PyTables/PyTables/tables/scripts/pttree.py main/VarMisuse@58/67 `src`->`args`