How to convert a ">" into a >
MyDomDom at gmail.com
Sat Jun 21 13:17:49 CEST 2008
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
if variable == ">":
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
More information about the Python-list