[python-uk] How to access a class instance created in one module in another module?

Goodies sachin_chavan at yahoo.com
Wed Apr 28 16:02:10 CEST 2010


Hi,

I have a query. I have two modules viz. MnSem5Main.py and MnCEMMain.py in
different folders.
I have created the below instances in MnSem5Main.py:

'app'   ,  'frame'
Please note that 'app' is created using wx.App and 'frame' using wx.Frame
builtin classes.
I want to access these in MnCEMMain.py. How to access these instances?

  
Regards,
Sachindeo V Chavan
-- 
View this message in context: http://old.nabble.com/How-to-access-a-class-instance-created-in-one-module-in-another-module--tp28387973p28387973.html
Sent from the Python - python-uk mailing list archive at Nabble.com.



More information about the python-uk mailing list