running jython bytecode using java

后端 未结 3 977
抹茶落季
抹茶落季 2020-12-16 02:21

It looks like I\'m missing something.

When using Jython to run my Python code in Java, Java bytecode files are generated (test.py -> test@py.class).

Can I ru

3条回答
  •  生来不讨喜
    2020-12-16 02:42

    If your only concern is distributing your application without giving away the source, you might want to look at tools like cx_freeze and py2exe on Windows and py2app on Mac.

    These tools have the ability to compile .py files to bytecode.

提交回复
热议问题