Skip to content

CSilentLearner/JavaRunPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java调用Python

主要总结了四种常用的Java调用Python的方法:

  • Java语句中编写Python语句;
  • 直接执行已经编写好的Python脚本;
  • 使用Runtime.getRuntime()执行python脚本文件(推荐使用);
  • 调用Python脚本的某函数。

About

Java调用Python的方法总结

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published