Computational Thinking, Linear Algebra, Python, Jupyter Notebook, Math.
index_map = dict() # links->IDs lines = get_lines(page_links_filename) source, destination, data = [],[],[] for l, split in tqdm_notebook(enumerate(lines), total=limit): if l >= limit: break add_item(source, redirects, index_map, split[0]) add_item(destination, redirects, index_map, split[2])