The goal of this site is to provide a set of materials to allow you to learn Python on your own. This page serves as an outline of the materials to support the textbook.
The materials are focused on the "core-programming skills" contained in Chapters 1-10.
- Get your copy of the Python for Informatics: Exploring Information. If you are on the University of Michigan campus, you can buy a physical printed copy in the Shapiro library at the Espresso machine. I am working with a publisher to make printed copies of the book available to all.
- Install the appropriate version of Python and a text editor for your system following these instructions.
- For the following chapters, you should download the exercises, audio, and video lectures to your local computer so you can play them locally. This can be done with either a Right-Click or a Control-Click in most browsers.
- Chapter 1 - Why program? (Slides, Printable Slides, Lecture Audio)
- Chapter 2 - Variables, expressions, and statements
(Slides,
Printable Slides,
Streaming Video,
Download Video,
Lecture Audio)
• Worked Exercise Screencasts: 2.2, 2.3 (suggest download) - Chapter 3 - Conditional Execution
(Slides,
Printable Slides,
Streaming Video,
Download Video,
Lecture Audio)
• Worked Exercise Screencasts: 3.1, 3.2 (suggest download) - Chapter 4 - Functions
(Slides,
Printable Slides,
Streaming Video,
Download Video,
Lecture Audio)
• Worked Exercise Screencasts: 4.4 (suggest download) - Chapter 5 - Loops and iterations
(Slides,
Printable Slides,
Lecture Audio)
• Worked Exercise Screencasts: 5.1 (suggest download) - Chapter 6 - Strings
(Slides,
Printable Slides,
Lecture Audio)
• Worked Exercise Screencasts: 6.7 (suggest download) - Chapter 7 - Files
(Slides,
Printable Slides,
Lecture Audio)
• Worked Exercise Screencasts: 7.1 (suggest download) - Chapter 8 - Lists
(Slides,
Printable Slides,
Download Video,
Lecture Audio)
• Worked Exercise Screencasts: Finding and Fixing Errors - Lists of Words (suggest download) - Chapter 9 - Dictionaries
(Slides,
Printable Slides,
Download Video,
Lecture Audio)
• Worked Exercise Screencasts: Most Common Word (suggest download) - Chapter 10 - Tuples
(Slides,
Printable Slides,
Download Video,
Lecture Audio)
• Worked Exercise Screencasts: Top-5 Words (suggest download) - Chapter 11 - Regular Expressions (Slides, Printable Slides, Download Video, Streaming Video, Lecture Audio)
- Chapter 12 - Network Programming (HTTP)
(Slides,
Printable Slides,
Download Video,
Streaming Video,
Lecture Audio
Part 1 and
Part 2)
• Worked Exercise Screencasts: 12.4 HTML Scraping with BeautifulSoup (suggest download) - Chapter 13 - Using Web Services
(Slides,
Printable Slides,
Download Video
Part 1 and
Part 2,
Streaming Video
Part 1 and
Part 2,
Lecture Audio
Part 1 and
Part 2)
• Worked Exercise Screencasts: 13.1 Twitter API and ElementTree (suggest download) - Chapter 14 - Databases
(Slides,
Printable Slides,
Lecture Audio
Part 1 and
Part 2)
• SQLite3 Browser: details
The slides, video lectures, and worked exercises are prepared
specifically for online use. The "Lecture Audio" is recorded
from the
SI502 - Networked Computing
course at the University
of Michigan from the most recent semester the course was taught by the author.
All this material (including audio and video) is Copyright Creative Commons Attribution 3.0 unless otherwise indicated. Instructors interested in the slides should contact the author at csev at umich.edu for an up-to-date copy of the slides in Apple's Keynote format for your use. The slides are also Creative Commons Attribution 3.0 so you are free to reuse and remix these materials for your own purposes.