Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python in Desktop Application Development

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 candidates; Java & Python.

The main criteria of the choice is the language must be complete; in a sense that it must be able to use for web & desktop applications development. Java is proven is this field, with many good web framework (JSF, Hibernate, etc) and relatively good GUI library (SWT, Swing).

However, Python looks more delicious as from my personal experience, development in Python is efficient, I could do more with less time (I only have experience in web development with Django). However, as for the desktop application, I have yet find any good GUI library that comes integrated with the IDE as Swing.

Can someone points me the best if possible GUI framework for desktop application for Python?

like image 420
Haikal Nashuha Avatar asked Jan 13 '12 09:01

Haikal Nashuha


People also ask

Can Python be used for desktop app development?

Python is frequently used for creating desktop applications and GUI (graphical user interface) apps. Python is great for backend web development, and is famous for being simple yet powerful. What is Qt? Qt is a free tool for creating GUI (graphical user interfaces).

How good Python is for desktop application?

Python is an easy programming language even for beginners, and frameworks make it the most accessible programming for web and desktop apps; this makes Python one of the most used programming languages around the world.


1 Answers

For Python GUI, there are 3 main options:

  • wxPython
  • PyQt
  • PySide

(PySide is a derivation of PyQt).

For building the interface, you can use wxGlade for wx, and the packaged QtDesigner for PyQt/PySide (Which both can convert the .ui files to .py

All 3 use native OS widgets, so will look right at home.

Despite having more experience in wx, I actually prefer PyQt, as I find it's a lot easir to work with.

For an integrated IDE for developing Python GUI apps, there aren't any (afaik) complete apps, however, I personally use PyDev in Eclipse, which can handle opening .ui files in QtDesigner for you, which you'd save, run the tool to make a .py file, and it'll work pretty much flawlessly.

like image 131
TyrantWave Avatar answered Sep 21 '22 12:09

TyrantWave