Trying to understand a little python

Nick Coghlan ncoghlan at
Tue Dec 7 10:07:42 CET 2004

McCarty, Greg wrote:
> Ok, I'm new to python, and I'm trying to come to grips with a few things.
> Got
> lots of years of experience with Java and asp/aspx, etc.  Trying to relate
> Python's behavior to what I already know.

You may find the following a useful overview of how class & instance attributes 

(Keep in mind that I'm only considering 'normal' attributes in that message - it 
covers the behaviour in most cases, but not quite all. When things stop behaving 
as you expect based on this description, the relevant word is almost certainly 


Nick Coghlan   |   ncoghlan at   |   Brisbane, Australia

More information about the Python-list mailing list