Help with my program

Chris Rebert clp2 at
Fri Oct 23 07:10:45 CEST 2009

Python is not Java. Accessor methods are unnecessary and unidiomatic.
Just access the attributes directly.
For more on Python not being Java, see:


On Thu, Oct 22, 2009 at 10:07 PM, VYAS ASHISH M-NTB837
<ashish.vyas at> wrote:
> So What is stopping you to do this? Make some methods getName, getHeight...
> and call classObj.getName() etc from other class.
> Ashish
> ________________________________
> From: at
> [ at] On Behalf Of
> tanner barnes
> Sent: Friday, October 23, 2009 7:30 AM
> To: python-help at; python-list at; tutor at
> Subject: Help with my program
> Ok so im in need of some help! I have a program with 2 classes and in one 4
> variables are created (their name, height, weight, and grade). What im
> trying to make happen is to get the variables from the first class and use
> them in the second class.

More information about the Python-list mailing list