From: Nicholas R. <nj...@il...> - 2010-03-30 13:46:33
|
In article <6f2...@ma...>, Jon <jo...@li...> wrote: > I'm trying to figure out the best way for supporting as much of the standard > Python dictionary methods on a java.util.Map as I can. You can just use the Java equivalent: for entry in mapObj.entrySet(): print entry.key, entry.value I agree this would be nice to bridge to iteritems(); it shouldn't be terribly hard to implement in Jython if you're interested. -- Nicholas Riley <nj...@il...> |