[Edu-sig] Retrospective: Our Open Source class including Python

Arthur ajsiegel at optonline.net
Fri Jul 16 15:48:38 CEST 2004

> Regarding Python, I'd be > especially interested in feedback on my paper
>under the Background
> subdirectory (the PDF).  

Good stuff.

I would only suggest you try to squeeze in something about the phenom one is
observing when playing as follows.

>>> class Mammal(object):
	def eat(self): print 'Munch'
	def sleep(self): print 'Zzzzzz'

>>> hippo =Mammal()
>>> hippo.eat()
>>> print hippo.eat
<bound method Mammal.eat of <__main__.Mammal object at 0x00A8E490>>
>>> eat=hippo.eat()
>>> print eat


More information about the Edu-sig mailing list