Gary Herron a écrit :
(snip)
One other word of warning. It is best to not use a variable named
string as Python has a builtin type of that name which would become
inaccessible if you redefine.
Good advice, except that the builtin string type is actually named
'str', not 'string' !-)
--
Well, I've got a little problem, I have a list that contains objects from
the class C, then I use those objects.__str__ to generate a ListCtrl, A
wxPython widget that makes a list of strings and then you can handle events
when selected, and returns the string selcted, how can I access the parent
David Anderson wrote:
Well, I've got a little problem, I have a list that contains objects
from the class C, then I use those objects.__str__ to generate a
ListCtrl, A wxPython widget that makes a list of strings and then you
can handle events when selected, and returns the string selcted,