I find three methods, the first is using jython, the module of jython can transform the type of data between Python and java,so you can define the java data structure execution with Python interpreter, besides,Java receive appropriate type of data from Python interperter. but this method drawback is can`t import the third part package in python interperter.

The second is using java command line util which can start a new process to execute python program, this method very convinient,but not safe enough,because the process can`t be control when it started. If you not care about the security problem, I strongly recommend this method.

The third is most safety and complicated,some blog even mention it,but I think neccessary to let you know. The answer is RestApi, using web frame like flask for python,then you can start a webservice based on SSL and HTTPS,when using java code call the python RestApi, the CA certification is required.

最新文章

  1. Android sdk目录介绍
  2. HTML内联元素
  3. MongoDB数据库的简介及安装
  4. iOS应用程序开发之应用间的跳转(用着微信等第三方分享登陆)
  5. c# 解析JSON的几种办法(转载)
  6. hdu3555
  7. 在Android平台下的基于Linux-C 的测试程序
  8. list,set,map,数组之间的相互转换详细解析
  9. 不可不知的HTML优化技巧
  10. SyntaxHighlighter代码高亮插件
  11. ObjC中的AOP--面向切面编程
  12. spring boot集成websocket实现聊天功能和监控功能
  13. 最优的路线(floyd最小环)
  14. [Abp 源码分析]十一、权限验证
  15. LeanCloud云引擎相关问题
  16. idea for mac 最全快捷键整理
  17. mac lsof使用查看端口
  18. Android开发之发送邮件功能的实现(源码分享)
  19. Cocos2d-x CCScale9Sprite 用法
  20. Transfrom在64bit服务下面无法运行

热门文章

  1. [Redis-CentOS7]Redis数据持久化(八)
  2. [Python]执行Linux命令
  3. kali安装—来自重装3次,创建了8个虚拟机的老安装师
  4. 常见的MIME类型与00截断
  5. H5_0026:使用CSS里的user-select属性控制用户在页面上选中的内容
  6. Windows下Anaconda安装、换源与更新
  7. Xamarin.Forms登录对话框及表单验证
  8. srpingboot web - 启动(3) 监听器
  9. Python异常类型及包含关系
  10. Java8新特性一览表