Hello All,

In a wx GUI,  I would like to let the user choose between >, < or =.
So, I created a combobox and when the user chooses ">" for instance, I
wanted to return > (the objective is to send the operator into another
complex method):
Example:
if variable == ">":
return >

But this is invalid syntax.

How can I transform a ">" into the > operator ie without parenthesis,
so that I can load it into another function ?

Thanks in advance

Dominique
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to