A
A
Amigun2019-01-11 20:59:33
Python
Amigun, 2019-01-11 20:59:33

How to combine two languages: Java and Python?

I need to make a program, either all written in Java, but with elements of Python, or vice versa. How to implement?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey Gornostaev, 2019-01-11
@sergey-gornostaev

You can use Jython to write python code that will run on the JVM. No way in the opposite direction. Is it possible to write two different programs that interact using some protocol.

V
Vadim Shatalov, 2019-01-11
@netpastor

I'm learning programming. Newbie

And on the move you threaten to do this
. With experience, you will understand that the flies are separate, and the cutlets are separate.

A
Alexey Cheremisin, 2019-01-12
@leahch

But, I'll be original - take groovy! In most cases, it is very similar to python, but it is also Java.

A
Alexey Ivashin, 2019-01-12
@Xumk

Try to consider GraalVM, it should be suitable for your purposes, and here you can combine different languages.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question