Access atributes of different class..
Balaji
balaji at email.arizona.edu
Fri Jun 11 00:19:48 CEST 2004
Hello Everybody...
This is what I'm trying to do..
from generation import*
class codegeneration:
def __init__(self,expr):
self.LP={}
self.P=[]
self.F=1.
self= MatrixGenerator(expr)
self.stackManagement(expr)
generation module has the method stackManagement and its defined in
class matrix generator.
stackManagement return self. results..matrix Generator has an
dictionary self.results
when stackManagement is called something gets into self.results.
Now I want to access this self.results thru codegeneration.
How can I do that..
Balaji
More information about the Python-list
mailing list