How to define "exec" method on a class object? Get syntax error due to built in command
Chris Angelico
rosuav at gmail.com
Tue Mar 26 14:43:48 EDT 2013
On Wed, Mar 27, 2013 at 5:13 AM, Kyle <stalkernew at gmail.com> wrote:
> Thanks for the suggestion. Looks like we currently use 2.3.4.
>
> This still wouldn't solve the problem because now the user would need to call something like getattr(wbt, "exec")(<args>) instead of wbt.exec(<args>) like all the other commands.
>
> I think the easiest thing for me to do would be to just change the command name from exec to something else.
..... that's pretty ancient. Any chance you can upgrade at least to 2.7.3?
ChrisA
More information about the Python-list
mailing list