[sf-lug] [PYCLASS] Mon Mar 2 6:30 PM: Chapter 15

Asheesh Laroia asheesh at asheesh.org
Sat Feb 28 20:32:59 PST 2009

WHERE: Noisebridge (83C Weise St, near 16th & Mission BART)
WHEN:  Mon Mar 2 6:30 PM
WHAT:  Community Python learning session: Chapter 15

TEXTBOOK INFO: http://www.greenteapress.com/thinkpython/thinkpython.html
TEXTBOOK CHAP: http://www.greenteapress.com/thinkpython/html/book016.html

This week, we look making your own types of objects through "classes." If 
you've heard of object-oriented programming, this is it. You'll also see that 
the perils of copying "mutable" data, like lists and your own home-built 
classes, rear their ugly heads again.

Not a very long chapter, but something novel! Note that in Exercise 4, it 
should be

>>> from TurtleWorld import World


>>> from World import World

(Thanks to Alex Kleider for noticing this!) (Hopefully I transcribed the 
correction properly.)


Remember that the point of the class is to help you answer questions you have. 
To that end, *read Chapter 15* so that you can make sense of the general class 

In addition, work forward in the text starting with chapter 1. I *urge* you to 
send me your exercises for any chapters; I can provide good feedback. Focus on 
the exercises for Chapter 15 so that we can have a coherent conversation in 
class, and feel free to ask me questions about earlier material.


A bunch of SF-LUG people have been learning an introduction to programming, and 
I've been facilitating.  My expectation is to have a fun conversation with 
people who have mostly read the chapter, and some of whom (hopefully all!) have 
done the chapter's exercises.


Noisebridge is a "hacker space" where people gather to discuss technology
and art or build things.  It's a member-supported non-profit, and I think
you'll think it's pretty cool.  Read https://www.noisebridge.net/.


I invite you to email me your answers to the exercises, or to discuss on the 
sf-lug list (since that's where this all started).

See some of you there!

-- Asheesh.

Q:	Why did the lone ranger kill Tonto?
A:	He found out what "kimosabe" really means.

More information about the sf-lug mailing list