On Jun 7, 6:06 am, simon kagwe <[EMAIL PROTECTED]> wrote: > > exec("distances = [[1,1,1,1],[2,2,2,2]]")
To be clear, exec is *not* a function; it's a statement. That means it can't be used in lambda functions, for example. > Wow! So simple! but dodgy, as it'll execute any python code. > Thanks a lot. :-) -- http://mail.python.org/mailman/listinfo/python-list