Good Site on Classes

Enrique Herrera pony at nmt.edu
Mon Mar 20 12:58:46 EST 2000


Alex wrote:
> 
> > What i am trying to do is have one class get information from another
> > class.
> 
> Can you be more specific?
> 
> Alex.

Well.. Let say that I have a class called GetInfo(), and a another class
called DisplayInfo(). With in that class i have a function called
UpdateDisplay().

Now I want to call the DisplayInfo.UpdateDisplay() with in GetInfo().

And lets say in my main script I have:

info=GetInfo()
display=DisplayInfo()

Both are classes are GUI and are there own separate files. 

I hope that helps.. 

Enrique



More information about the Python-list mailing list