20 Antworten
+ 9
★«Caleb Guerra Ortega»★
There is no directly converter between languages so you need to learn and convert manually.
+ 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
+ 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.
+ 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.
+ 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
+ 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.
+ 3
Elon Yemp #RELOADED#
I want to convert from Python to Java and from Java, by Android Studio, convert it to apk
+ 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.
+ 3
+ 2
But, JaScript, Dart is a library?
+ 2
Thank you, Hacker-KR4636, very interesing your answer.
+ 1
A͢J - S͟o͟l͟o͟H͟e͟l͟p͟e͟r͟
Isn't Jython for that?
+ 1
★«Caleb Guerra Ortega»★ explain why you need to do that conversation maybe we could suggest you alternatives
+ 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?
+ 1
Elon Yemp #RELOADED#
Well how do I convert my python code to bytes?
I'm not sure how to do it.
+ 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!
0
Explícame más, LARG APPS, por favor.
0
Gracias, LARG APPS