New submission from saradayerramalle <saradasr...@yahoo.co.in>: Hi. I am new to Python. I have an ABC.py file in which it has a checkbox. An instance of the "wx.CheckBox" is created with name "chkbox1". Initial value is set and its binded to the "wx.EVT_CHECKBOX" with a function xxx(). Now, I am importing ABC.py to XYZ.py. How to access the event of the checkbox XYZ.py?
If i try to access it as ABC.chkbox1.SetVaule(), its giving the error as ""Attribute Error: type object 'ABC' has no attribute 'chkbox1'"". Please help me ASAP. ---------- messages: 130494 nosy: syerrama priority: normal severity: normal status: open title: Attribute Error versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11460> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com