Python in Desktop Application Development

前端 未结 2 817
醉话见心
醉话见心 2021-02-01 23:41

My company is revamping the IT infrastructure and systems, so we are at the middle of finalizing the technology for developing the new system.

We have come to two candid

2条回答
  •  时光说笑
    2021-02-01 23:59

    It is entirely possible to build a SWING GUI application with Python. Look for Jython, which is Python for the JVM. Any pure Python (no compiled C code) libraries for Python will work with Jython including most of the Python standard libraries.

    Also, because Jython is a JVM language, it has access to objects provided by Java libraries such as SWING, and also can use the JVM threading model. Multithreading in plain Python is difficult due to the Global Interpreter Lock. Jython does not have that limitation.

    If other people in the company are leaning towards Java, then Jython with SWING would be a safer choice because when people say that you should have used Java because Cool Library X is available, you just smile and say that Jython can also leverage Cool Library X because Jython is a JVM language.

提交回复
热议问题