Categories
Study Notes

Python PageRank Exercise

Maya Angelou's Web
Maya Angelou’s Web

I’ve been busy with Chuck Severance’s Python 4 Everybody specialization at Cousera. One of my favorite homework assignments so far is the Page Rank web crawler. I modified the original spider to only crawl Wikipedia. Each web starts at the poet’s wiki page. After randomly crawling 100 pages, the code ranks the sites in the web and builds a fun graph of them. You can view my webs for six poets here.

The original code is by Michael Bostock and made available by Chuck Severance at py4e.com

Leave a Reply

Your email address will not be published. Required fields are marked *