On Wed, Mar 25, 2015 at 2:22 PM, Ian Kelly <ian.g.ke...@gmail.com> wrote: > On Wed, Mar 25, 2015 at 12:17 PM, Joel Goldstick > <joel.goldst...@gmail.com> wrote: >> Oh, now I see. Do you know about this: >> https://docs.python.org/2/library/ast.html#ast.literal_eval > > As the name suggests, that only evals literals. It won't work for > complex expressions like "i + j > 4" > -- Thanks Ian, sorry for the misdirection ... > https://mail.python.org/mailman/listinfo/python-list
-- Joel Goldstick http://joelgoldstick.com -- https://mail.python.org/mailman/listinfo/python-list