Passing array from java to python
Chris Rebert
clp2 at rebertia.com
Thu Jun 2 06:16:56 EDT 2011
On Thu, Jun 2, 2011 at 2:54 AM, loial <jldunn2000 at gmail.com> wrote:
> I need to pass some sort of array or hashmap from Java and read the
> data in a python script (which will be called by the java class). Is
> there any neater way to do this other than just passing strings?
Jython?: http://www.jython.org/
Or depending on how you define "just passing strings", JSON:
http://json.org/
http://docs.python.org/library/json.html
Cheers,
Chris
More information about the Python-list
mailing list