As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I looking for a GUI Builder for python
i know it exist, can see it in this image background
It is Glade 3, a GUI Designer for GTK+. It generates an XML file representing your GUI. You can load this GUI later using PyGTK.
Specifically, the screenshot is running a Mac OS X port of Glade 3
That's glade, it actually produces XML, which can be used with the PyGTK library in python
The GUI designer isn't "for" python, it's for gtk+ and the associated language bindings known as pygtk.
there are two gui editors available:
http://glade.gnome.org/
http://www.mono-project.com/Stetic
I use PyQt (PyQt Homepage); it is built on the QT Toolkit (http://www.qtsoftware.com/).
If you are deploying to Windows, it works well with the py2exe module (py2exe).
It's fairly straightforward to use, especially if you already have experience with the QT libraries.
The one in the screenshot is Glade.
However, there are quite a few GUI-Builders for Python, as seen on http://wiki.python.org/moin/GuiProgramming
Tkinter is one of many GUI builders available for python. I prefer it.
Gazpacho is almost a clone of Glade, but written in pure PyGTK. We (the PIDA team) are currently refurbishing it.
A python GUI builder is boa-constructor, whcih uses the WxWidgets toolkit
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
In your opinion, what is the best way to create gui in Windows with python ?
Do you recommend PyQt for windows?
I believe the best and most documented is probably PyQT, but it depends on what you are developing. PyGTK has a really linuxy design. PyQT has one disadvantage that when compiled it is a really large file.
Advantages of Each:
PyQt
Great support for signals and slots (Docs)
Great for model and view programming (Docs)
Has a great designer (QtDesigner)
Cross platform Support
Great support for both c++ and python
Third party plugins and development tools (e.g. PyQWT, networking, etc.) Docs
PyGTK
Really nice Linux design
Good documentation (docs)
Well to do design tools (Stetic, Glade)
Supposedly great support for internationalized text
Strong graphical element platform (GTK+)
wxPython
Probably the best multiplatform support
Well documented for both python and c++
But it all comes down to the design and the development style that you prefer. I recommend you pick one and just stick with it. For windows, its probably best to use PyQt4 because of flexibility in design, code, and performance.
I prefer PyQt, there is some examples in the pyqt release directory, you can try it out. I think the effect is really cool.
I haven't tried other library so i could not compare PyQt with others . As I am familiar with Qt, the coding experience is very easy if you switch Qt to PyQt.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What are good cross platform python3 IDEs with debugger and code completion? I found some, but none of them had the 4 features at once: support for python3 syntax, code completion, integrated debugger and being free. The only one that has them is python plugin for eclipse, but unfortunatelly eclipse is so slow on my pc (you know: knock knock "who's there?" 3 secs of silence "java"), so I want something different. But I just cant find anything that is free and works on linux easily. Hope you can help me.
Eric5 is a full featured Python and Ruby editor and IDE, written in python. It is based on the cross platform Qt gui toolkit, integrating the highly flexible Scintilla editor control. It is designed to be usable as everdays' quick and dirty editor as well as being usable as a professional project management tool integrating many advanced features Python offers the professional coder. eric4 includes a plugin system, which allows easy extension of the IDE functionality with plugins downloadable from the net.
A couple of others...
Komodo Edit
PyScripter
Try Cloud9 IDE. If you have a browser, you can use it.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm attempting to convert a Python application I coded using the cmd module into a gui. Initially, I came across EasyGui. But after giving it a try, I find that it is very limited, the gui screens are not consistent, and overall not easy on the eyes. I read about IronPython (Python + .NET), but cannot find adequate documentation on it. Before I order a book from Amazon on IronPython (as this seems the most legitimate), does anyone know of a decent gui alternative for Python? Thanks!
Tkinter is in the standard library, works on all platforms, and is fairly simple and lightweight, but it looks a bit clunky.
WxPython tries to use platform widgets, so it looks a bit better, but it's a separate library. On Linux, I still find it doesn't look quite right.
PyQt is a large, powerful framework - it looks good, and you can do a lot with it, but it's more complex and a larger install.
There are plenty of others, but those are probably the most popular.
I've used libglade before to write GUIs in Python. I thought the results felt very native (as native as any GUI toolkit can under Linux), and using it was a lot like every other GUI toolkit I've used.
The best GUI's for Python are tkinter, Qt (PyQt), and wx (wxPython). Search any of those terms to learn more.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I wrote a python script here Github
It is just something I wrote to practice. The script asks for a input directory and output directory and the method of compression and then compress the files from input directory and stores the compressed archive to the output directory.
I want to make a graphical frontend for this script. I am using Ubuntu 10.10 (GNOME).
Is it possible to do so?
If yes, then where should I start?
I want to do this just for learning purposes.
Thanks
It's certainly possible. There are a ton of GUI frameworks available so you'll have more then enough choices. Given your OS is Ubuntu I would look into PyGTK first. I personally found PyGTK fit my brain pretty well and I really liked the documentation. The fact that it's the native toolkit for your Window Manager is a nice plus in that your app will hopefully look like the other Gnome apps you're already running.
Of course you could use Tkinter which is bundled with Python and cross platform. Or you could look into using PyQT or wxPython.
To be a little crazy, since this is a learning exercise, you might want to use something lower level so you might look into something like Pyglet or Pygame and spend some time learning how to build your UI widgets.
If you're looking for touch interface or iOS / Android support then checkout Kivy
Good luck.
Kivy also looks like a good alternative.
Kivy - Open source Python library for rapid development of applications
that make use of innovative user interfaces, such as multi-touch apps.
I found PyQt pretty easy to get up and running with. Check out the wiki docs here.
I find MVC a very good design pattern to use in this case, so, you might try to salvage your code (it seems very simple).
For a GUI framework, I suggest Mike Steder's response, and this list and a large list found here.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Could someone tell me which is better of the two for bundling Python applications — cx_Freeze or PyInstaller? I'm looking for a comparison based on factors such as:
Popularity (i.e. larger user base)
Footprint of the built binary
Cross platform compatibility
Ease of use
I tried both for a current project and decided to use cx_freeze. I found it easier to get started. It has an option to bundle dependencies in a zip archive, which makes it easy to check that everything was properly included.
I had trouble getting PyInstaller to include certain egg dependencies. It couldn't handle conditional imports as well as I needed and looking through the bundled archive was difficult. On Windows, it requires pywin32 (so it can't be used with virtualenv) and version 1.4 doesn't work with Python 2.6. There's no information on whether Python 2.7 is supported.
Why not use something like GUI2EXE?
GUI2Exe is a Graphical User Interface
frontend to all the "executable
builders" available for the Python
programming language. It can be used
to build standalone Windows
executables, Linux applications and
Mac OS application bundles and plugins
starting from Python scripts.
For my experience, I found that for some programs py2exe doesn't work right, but cx_freeze does. haven't tried pyinstaller.