This week's book giveaway is in the Other Languages forum. We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line! See this thread for details.
Hi What is the root cause for the following error in Jython. AttributeError: 'dict' object has no attribute 'containsKey'. Pls suggest me the solution . Thanks , Raj URGENT removed from topic... [ January 13, 2004: Message edited by: Barry Gaunt ]
posted 12 years ago
Maybe you want to use has_key('foo') instead of containsKey('foo')? As in:
Hint: To see the attributes of an object x you can do dir(x)
[ January 13, 2004: Message edited by: Barry Gaunt ]