By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,852 Members | 2,123 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,852 IT Pros & Developers. It's quick & easy.

invoke Python by Java

P: 1
I can call python script from java if de python script only does not contains other import package,if I call Python script contains import package(like numpy),I got no output and have no error message to show.I invoke Python like this:
Process rt=Runtime.getRuntime().exec("python /usr/tmp/"+scriptName + " " +parameter);
Jul 4 '17 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.