This will work fine in simple cases and if the dictionaries are passed around in repr() form.
If they are being passed pickled in some way, or the values in the dictionary are anything other than strings, lists, dictionaries or combinations of these then you will need something like Jython. -- http://mail.python.org/mailman/listinfo/python-list