Akira Kitada wrote:

> The loop has to be:
> """
>>>> k = d.firstkey()
>>>> while k != None:
> ...    print k
> ...    k = d.nextkey(k)
> key2
> key1
> """

Why not

for key in d.keys():
    print key

That worked for me.

j

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to