[Between] python calls java

来源:互联网 发布:淘宝上官换机是真的吗 编辑:程序博客网 时间:2024/06/06 07:18

Get started:

bartdag/py4j · GitHub : https://github.com/bartdag/py4j

Source of py4j, py4j-java


Download py4j: http://sourceforge.net/projects/py4j/postdownload?source=dlp

1. Installing Py4J — Py4J : http://py4j.sourceforge.net/install.html#install-instructions


Compare others:

Using a java library from python - Stack Overflow : http://stackoverflow.com/questions/476968/using-a-java-library-from-python

java - Py4J has bigger overhead than Jython and JPype - Stack Overflow : http://stackoverflow.com/questions/18484879/py4j-has-bigger-overhead-than-jython-and-jpype

 

Write Java:

Welcome to Py4J — Py4J : http://py4j.sourceforge.net/index.html


import py4j-java, Write python:

How to call java from python using PY4J - Stack Overflow : http://stackoverflow.com/questions/20754129/how-to-call-java-from-python-using-py4j

windows下安装py4j - hongrj的专栏 - 博客频道 - CSDN.NET : http://blog.csdn.net/hongrj/article/details/17528293


py4j-java, port:

2. Getting Started with Py4J — Py4J : http://py4j.sourceforge.net/getting_started.html


javadoc:

http://py4j.sourceforge.net/_static/javadoc/index.html?py4j/GatewayServer.html 

        http://py4j.sourceforge.net/py4j_java_gateway.html#api-javagateway

Source:

        CODE: https://code.csdn.net/ruxming/py4java



0 0