Ask HN: Python for commercial desktop software?
- Is this because of the ease of reverse-engineering of python bytecode?
- Any examples of commercial desktop software in python?
- What language should I write cross-platform desktop apps in?
- Is this because of the ease of reverse-engineering of python bytecode?
- Any examples of commercial desktop software in python?
- What language should I write cross-platform desktop apps in?
py2exe and py2app do a reasonable job of packaging up your python program into .exe/.app for desktop software. With a toolkit such as QT, though PyQT is non-free, professional looking applications are achievable. PySide, Nokia's LGPL Python QT binding does not have Windows or OS X on their official roadmap, so unless you're willing/able to do the port yourself, I would not count on it. (http://www.pyside.org/roadmap/)
For C++, Visual Studio comes in an Express edition that is free, which can (somewhat) be used with QT, and these days, QT is LGPL, which means no licensing costs.
If there is really a need for this to be desktop software, and I don't know your product, so lets assume there is. Cross-platform desktop apps is a special niche, and assuming you lack the resources to do ports for each OS, I'd go with C++ and QT.
Python is also not an all-or-nothing choice. There are some professional applications that use Python at some point in the process. Avid Media Composer (professional video editing suite) has a python2X.dll in their C:\Program Files directory, though I don't know what it gets used for.
Between the two larger platforms, OS X and Windows (assuming those are the 'cross' platforms you are talking about), QT does a fine job of working on both systems, but the two platforms DO have different idioms that I feel a platform specific port is the only way to do a good job on.
That's probably your best bet for cross-platform Python applications if you need a GUI.
For commercial desktop software, Windows is still the major market. Cross-platform development costs are far greater than the value of the small increase in target market size.