Week 4: What’s happening this week

As always, your benchmark for this week is on the Course Schedule page.

It’s in your best interest to reach the benchmark BEFORE class on Monday. That way you’ll get the most out of the lecture and discussion in class.

Resources from last week have been added to the Course Schedule page, listed under Week 3. Last week you learned about:

  1. Passing arguments to the script at runtime
  2. Working with files that are outside of Python
  3. Functions (every modern programming languages uses functions; they are hugely important, and you’ll see them again in JavaScript)

This week you’re continuing to learn about working with files and using functions. Returns are very important. Some functions need them, and others do not.

As for exercise 23 — DO IT! Here is a little example from last week’s example: journalist Nicole Martinelli’s Craigslist Scraper code, on GitHub.

Exercise 25 will probably require some serious effort for you to really understand it.

Don’t forget the weekly examples. You can always find these by clicking the Examples link in the right-hand sidebar. This is your chance to get some extra credit and also see, explore and be inspired by some great examples of interactive journalism work.

Advertisements