Cuttlepress

Blogging about Hacker School?

Day 2

Today I went over to the bookshelf and grabbed the first book that looked intro-level, which turned out to be Python Programming: An Introduction to Computer Science by John Zelle. I got through chapter 6 (functions), spending most of my time on chapter 5 (graphics). I enjoyed using the author’s basic graphics library, but decided I’d rather do something even less frameworky. At this point, Rupa offered to pair program, with her superior knowledge of Python, and we worked through some basic Tkinter things. We almost have a mouse-following rectangle. Here is a screenshot from earlier in the day, with some modified code from the book:

Python screenshot