With what kind of IDE (if any) you build python GUI projects?

18,572

Solution 1

For GUI only, I find VisualWx (http://visualwx.altervista.org/) to be very good for designing wxPython apps under Windows.

For GUI + database, dabo (http://dabodev.com/) is probably a good answer.

Solution 2

Also for PyGTK, there is Gazpacho, it's pure python which makes adding your own custom widgets easier, and already has gtkbuilder support.

I took over maintenance of the project a few months ago, and we plan to release it under the umbrella of the PIDA IDE, in a more Visual Studio-like setup. Patches accepted!

Solution 3

The short answer is "no". There is not a swiss-army-knife like IDE that is both a full-featured Python code-editor and a full-featured WYSIWYG GUI editor. However, there are several stand-alone tools that make creating a GUI easier and there are a myriad of code editors, so if you can handle having two windows open, then you can accomplish what you are trying to.

As for stand-alone GUI editors, which you choose is going to depend on what library you choose to develop your GUI with. I would recommend using GTK+, which binds to Python via PyGtk and has the Glade GUI designer. I believe that there are other GUI libraries for Python that have WYSIWYG designers (Qt, Tkinter, wxWindows, etc.), but GTK+ is the one I have the most experience with so I will leave the others for other commentators.

Note, however, that the designer in this case is not at all language dependent. It just spits out a .glade file that could be loaded into any language that has GTK+ bindings. If you are looking for a designer that produces raw Python code (like the Code-Behind model that VS.Net uses), then I am not aware of any.

As for general code-editing IDE's (that do not include a GUI designer), there are many, of which PyDev/Eclipse is probably the most Visual Studio-like.

(Revised for clarity.)

Solution 4

If your into QT EricIDE is a good choice

Solution 5

I'm not really a Pythonista, but I am a Mac user and I appreciate a good, native interface in the apps I write and use. So, if I were to use Python for a GUI app on the Mac, I'd use PyObjC with Interface Builder and Xcode, rather than a cross-platform solution.

Share:
18,572
Admin
Author by

Admin

Updated on June 04, 2022

Comments

  • Admin
    Admin over 1 year

    Is there any IDE (like VS) with drag and drop support for building python GUI, connecting to dbs etc? Eventhough I am an emacs guy, I find it much easier to create GUI with VS.

  • quelbe
    quelbe almost 15 years
    Wow that is great to hear! I had wondered what the status of Gazpacho was. I would love to have a GTK editor available that supports gtkbuilder! This might be the silver bullet that gets me using PIDA.
  • Tom Duckering
    Tom Duckering almost 15 years
    Me too. Took me a bit to realize that the glade package in Ubuntu is obsolete, and the glade3 package is the up-to-date one. Beats me.
  • java_newbie
    java_newbie almost 15 years
    I took a look at gaspacho a while back. It doesn't look like it's had any updates for a while. Is the mercurial version the one that supports GtkBuilder?
  • Ali Afshar
    Ali Afshar almost 15 years
    Last release supports GtkBuilder, but there is no UI for turning it on/off.
  • ychaouche
    ychaouche over 10 years
    Wrong. See dabo for example.