+ 6

English: Hello, programmers Python or Java. I need learn how convert of Python to Java. Without know Java.

Español: Hola, programadores Python o Java. Necesito aprender cómo convertir de Python a Java. Sin saber Java.

19th Dec 2021, 4:57 PM
CGO!
CGO! - avatar
20 Answers
+ 9
★«Caleb Guerra Ortega»★ There is no directly converter between languages so you need to learn and convert manually.
19th Dec 2021, 5:00 PM
A͢J
A͢J - avatar
+ 7
★«Caleb Guerra Ortega»★ Jython is to interact Java code with python code but it is not to convert python code to Java code. You can write python code inside Java code but cannot convert python code to Java code
19th Dec 2021, 5:18 PM
A͢J
A͢J - avatar
+ 6
convert your Python to Jython. Jython is just Python for the JVM. It may be possible to use a Java decompiler (e.g. JAD) to then convert the bytecode back into Java code (or you may just wish to run on a JVM). I'm not sure it will work or not, Test the idea and make us back.
19th Dec 2021, 8:00 PM
Elon
Elon - avatar
+ 6
If your main purpose is to build Android apps with Python, you can learn Kivy. It is a multi platform framework and python library, so you can write Python code to create your apps. Otherwise, Jython is your best option, which is a programming language that allows you to write Python and Java code, which is because Jython is an implementation of Python written entirely in Java, allowing through interfaces to complement these two. programming languages.
21st Dec 2021, 2:43 AM
Hacker-KR4636
Hacker-KR4636 - avatar
+ 5
★«Caleb Guerra Ortega»★ No, Dart is a programming language developed by Google. You must install Flutter support in Android Studio if you want to see it. For more information please see ie here: https://docs.flutter.dev/get-started/codelab#:~:text=Write%20your%20first%20Flutter%20app%2C%20part%201%201,Add%20a%20Stateful%20widget.%20...%20Weitere%20Artikel...%20
20th Dec 2021, 9:51 PM
JaScript
JaScript - avatar
+ 4
★«Caleb Guerra Ortega»★ I would recommend you to learn Dart in Flutter framework. With these tools, in my opinion, is much faster and easier to create an app in Android Studio than in other languages such as java, kotlin or c. Special functions can also be coded afterwards in other languages if necessary.
20th Dec 2021, 3:14 PM
JaScript
JaScript - avatar
+ 3
Elon Yemp #RELOADED# I want to convert from Python to Java and from Java, by Android Studio, convert it to apk
19th Dec 2021, 5:54 PM
CGO!
CGO! - avatar
+ 3
★«Caleb Guerra Ortega»★ A͢J - S͟o͟l͟o͟H͟e͟l͟p͟e͟r͟ is right ! There is no directly converter between languages so you need to learn and convert manually.
19th Dec 2021, 9:43 PM
Elon
Elon - avatar
20th Dec 2021, 10:41 PM
CGO!
CGO! - avatar
19th Dec 2021, 4:57 PM
CGO!
CGO! - avatar
+ 2
But, JaScript, Dart is a library?
20th Dec 2021, 6:53 PM
CGO!
CGO! - avatar
+ 2
Thank you, Hacker-KR4636, very interesing your answer.
21st Dec 2021, 4:29 PM
CGO!
CGO! - avatar
+ 1
19th Dec 2021, 5:01 PM
CGO!
CGO! - avatar
+ 1
★«Caleb Guerra Ortega»★ explain why you need to do that conversation maybe we could suggest you alternatives
19th Dec 2021, 5:26 PM
Elon
Elon - avatar
+ 1
A͢J - S͟o͟l͟o͟H͟e͟l͟p͟e͟r͟ What I want to do is in the Java code input the Python code, can it be done?
19th Dec 2021, 5:53 PM
CGO!
CGO! - avatar
+ 1
Elon Yemp #RELOADED# Well how do I convert my python code to bytes? I'm not sure how to do it.
19th Dec 2021, 8:46 PM
CGO!
CGO! - avatar
+ 1
Hola Caleb! Prueba GitHub Copilot, es una inteligencia artificial bien interesante que hace cosas tan increibles como desarrollar código a partir de comentarios. Espero te sea útil!
5th Jan 2022, 6:29 PM
LARG DEV
LARG DEV - avatar
0
Explícame más, LARG APPS, por favor.
5th Jan 2022, 6:40 PM
CGO!
CGO! - avatar
0
Gracias, LARG APPS
8th Jan 2022, 1:35 PM
CGO!
CGO! - avatar