|
From: Ivan H. <ihe...@ci...> - 2005-09-21 14:39:57
|
Hello... i have this problem:
ihernandez@cinemasoft:~/documentos/src/jserver$ jython
Jython 2.1 on java1.4.2-02 (JIT: null)
Type "copyright", "credits" or "license" for more information.
>>>
>>> x = {}
>>> print x
{}
>>> for i in x:
... print i
...
Traceback (innermost last):
File "<console>", line 1, in ?
TypeError: loop over non-sequence
But in python it works fine.
How can i loop items ??
thanks.
Ivan Hernandez
|