This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Attribute Error
Type: Stage: resolved
Components: Versions: Python 2.7
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: ezio.melotti, syerrama
Priority: normal Keywords:

Created on 2011-03-10 09:13 by syerrama, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg130494 - (view) Author: saradayerramalle (syerrama) Date: 2011-03-10 09:13
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.
msg130495 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2011-03-10 09:39
Hi, if you need help with Python try the Python mailing list[0] or ask on IRC[1].
This bug tracker is used only to report bugs in the Python language.

[0]: http://www.python.org/community/lists/
[1]: http://www.python.org/community/irc/
History
Date User Action Args
2022-04-11 14:57:14adminsetgithub: 55669
2011-03-10 09:39:10ezio.melottisetstatus: open -> closed

nosy: + ezio.melotti
messages: + msg130495

resolution: not a bug
stage: resolved
2011-03-10 09:13:17syerramacreate