Hi,

Is it possible to a single that contains two classes:

Myclass.py file contains:

Class one(object):
  def needsomething(self):
Class two (object):
   def dosomething(self):

I want Class one's methods to access Class two methods?

Class one(object):
  def needsomething(self):
    return dosomething()


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

Reply via email to