From: James Carroll <jim@mi...> - 2003-04-23 14:06:07
Hi I have a sorted map that I'd like to iterate over like so:
# categories is a java.util.SortedMap ( really a TreeMap )
self.categories =3D ni.getCategories()
for (category, values) in self.categories:
print "category", category, "values", values
TypeError: loop over non-sequence
What's the most elegant way of doing this?
From: Patrick Bielen <bielen@st...> - 2003-04-24 06:22:45
> I wonder if there is any GUI editor like IDLE in Python available for
> Jython? Is there any JIDLE? Thanks!
What's wrong with simply using IDLE to create your jython-programs ?
You can also look at Jext or Jedit to edit your stuff.