aspose file tools*
The moose likes Java in General and the fly likes Accessing Python libraries from Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Accessing Python libraries from Java" Watch "Accessing Python libraries from Java" New topic
Author

Accessing Python libraries from Java

Cody Long
Ranch Hand

Joined: Jan 01, 2009
Posts: 95
I would like to be able to access Python libraries from Java, mainly the myro library to control my scribbler robot from Java. I have looked at Jython and a few other, but they all seem to be geared towards accessing Java classes from Python. I was wondering if the opposite was possible. Thanks.


Duct tape is like the Force. It has a dark side, a light side, and it binds the whole universe together.
Narayanaperumal Gurusamy Yadav
Greenhorn

Joined: Nov 16, 2010
Posts: 1
Use Jython, through you can import the python also java libraries
http://www.jython.org/, but it slow your application
 
Consider Paul's rocket mass heater.
 
subject: Accessing Python libraries from Java