how to iterate over sequence and non-sequence ?

Paul Hankin paul.hankin at gmail.com
Fri Oct 19 13:17:10 EDT 2007


On Oct 19, 5:38 pm, stef mientki <stef.mien... at gmail.com> wrote:
> ... snip hand-coded debugger
> I couldn't come up with a better solution ;-)

Does pdb not suffice?

Even if it doesn't; you can look up variables without using exec,
using locals()['x'] or globals()['x']

--
Paul Hankin




More information about the Python-list mailing list