0

I am a beginner in Java And I have some experience in python I am wondering if there is a way to use python in java. Thanks in advance.

2
  • 1
    I'd use jython. You might want to look at Py4J too. Commented Nov 24, 2018 at 5:56
  • 1
    You can run Python programs using a Java JVM with Jython. You can also use Java Process to call the Python interpreter to execute Python code from a Java program. Commented Nov 24, 2018 at 6:01

1 Answer 1

1

You can simply convert your python code to binary and use is in any other languages as a added library package. I thing Juthon comes handy in this manne.

Jyhton documentation.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.