MOAR Dicts; Dicts and the Web

by Elliott Hauser

07 Apr 2016

Dicts Solutions

Ex 1

Ex 2-5

Notes:

  • From: vs From
  • .read() lets you extract everything with one regex. With .readlines() you can loop over lines with a simpler regex
  • Props: Hannah had a great idea: extract only the From lines, then do all the exercises on just those.
  • Props: Javairia sovlved all the exercises in one big loop, then printed the results.
  • Props: Lingjie (and maybe one or two others?) extracted the data all at once with a regex

Final Project

Plan is due in a week. Project itself is due in about 3 weeks. Let’s review

Meetups and Open Source

Nice work Payal! Check her post to see how it’s done.

You should have attended at least one meetup by now.

Resource for finding open source projects: Openhatch.org

Homework in Class

Let’s do some, shall we?

Elliott Hauser is a PhD Student in information science at UNC Chapel Hill. He's hacking education as one of the cofounders of Trinket.io. Find Elliott Hauser on Twitter, Github, and on the web.