how to iterate over sequence and non-sequence ?

stef mientki stef.mientki at gmail.com
Sat Oct 20 06:02:09 EDT 2007


Paul Hankin wrote:
> 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?
>   
thanks very much Paul,
Never heard of that before,
I looked it up, just 1 page in my book of 500 pages ;-)
I'm certainly going to study that.

> Even if it doesn't; you can look up variables without using exec,
> using locals()['x'] or globals()['x']
>
>   
Didn't know that either,
I'll try.

thanks,
Stef Mientki
> --
> Paul Hankin
>
>   




More information about the Python-list mailing list