class Reader:
   def __init__(self, filePath=""):
       ....
       self.dataA=SchemaA()
       self.dataB=SchemaB()
       ...

class SchemaA():

class SchemaB():

You probaly should put the Schema definitions before the Reader 
definition. Otherwise what you suggest is absolutely the norm 
for OO programming.

Alan G.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to