Python code translation in JVM

Is there such a thing as a “translator” (due to the lack of a better word in my mind right now) that translates Python code directly into JVM / Dalvik bytecode?

It would be great to write Android applications in Python!

NOTE . I know about the scripting capabilities of the Android platform, but I'm looking for something that could generate a “.apk” without installing the “scripting” package ... annoying for end users.

+5
source share
4 answers

Yes you can go to the Java bytecode using jythonc. Although I'm not sure how well this will work with the Dalwick format, there are subtle differences.

edit : apparently there was a project jythonroidwhose purpose is what you want, but they abandoned it in favor of SL4A

+5
source

try jython - python implementation for jvm

+3
source

python JVM Jython

dalvik, , python dalvik. Android Scripting Enviornment, android.

+3

Wikipedia entryon Dalvik , , - Java jythonc, dx .dex.

wikipadia:

A tool called dx is used to convert some (but not all) Java.class files to .dex format.

Let us know if this works.

+2
source

All Articles