making a python GUI [duplicate]
How do I make a GUI for my python program because now it only runs in Idle and a command line and what software packages can I use and where can I get them? Thanks.
Asked by: Blake676 | Posted: 01-10-2021
The GuiProgramming page in the Python wiki has a good overview of the different options you have.Answered by: Byron939 | Posted: 02-11-2021
They are both open source, cross platform and well documented, and they both have gui builders available (Qt Designer and wxGlade. Keep in mind that developing closed source software with QT requires a license, both for QT and the python bindings.Answered by: Stuart348 | Posted: 02-11-2021
We started down the path of wxPython a few years ago and found it to be quite easy to do for simple, quick and dirty app. However, you are not going to get something you can put on the modern desktop. So we switched to WinForms and Python.Net and haven't looked back since. It's fairly easy to get going and you get all the power and support of rich windows UI with .NET.Answered by: Sophia439 | Posted: 02-11-2021
One thing not mentioned yet is that Tkinter is included in the standard library. In most cases all other gui toolkits will require additional installs.
Tkinter isn't pretty, but it gives you the basics. And if you don't want to worry about additional setup, this is your best choice.
My personal preference is wxpython. It has many of the standard widgets you expect from a gui toolkit and a native look.Answered by: Edward246 | Posted: 02-11-2021
user interface - Change command Method for Tkinter Button in Python
I create a new Button object but did not specify the command option upon creation. Is there a way in Tkinter to change the command (onclick) function after the object has been created?
python - In the Django admin interface, is there a way to duplicate an item?
Just wondering if there is an easy way to add the functionality to duplicate an existing listing in the admin interface? In data entry we have run into a situation where a lot of items share generic data with another item, and to save time it would be very nice to quickly duplicate an existing listing and only alter the changed data. Using a better model structure would be one way of reducing the duplication of the...
Python file interface for strings
This question already has answers here:
user interface - Are there any good 3rd party GUI products for Python?
In .Net you have companies like DevEpxress, and Infragistics that offer a range of GUI widgets. Is there any market like that for Python GUI widgets? I'm thinking specifically about widgets like the DevExpress xtraGrid Suite. Edit 01-16-09: For Example: http://www.devexpress.com/Downloads/NET/OnlineDemos.xml
user interface - Is there a Python library for easily writing zoomable UI's?
My next work is going to be heavily focused on working with data that is best understood when organized on a two-dimensional zoomable plane or canvas, instead of using lists and property forms. The library can be based on OpenGL, GTK+ or Cairo. It should allow me to: build widgets out of vector shapes and text (perhaps even SVG based?) arrange these widgets on a 2D plane catch widget...
user interface - How to modify existing panels in Maya using MEL or Python?
I've been writing tools in Maya for years using MEL and Python. I'd consider myself an expert in custom window/gui design in Maya except for one area; modifying existing panels and editors. Typically, I'm building tools that need totally custom UIs, so its customary for me to build them from scratch. However, recently I've found myself wanting to add some additional functionality to the layer editor in Maya. I'v...
user interface - What library is best for GUI in python?
This question already has answers here:
python - What SHOULDN'T Django's admin interface be used for?
I've been applying Django's automatic administration capabilities to some applications who had previously been very difficult to administer. I'm thinking of a lot of ways to apply it to other applications we use (including using it to replace some internal apps altogether). Before I go overboard though, is there anything in particular I shouldn't use it for?
Source interface with Python and urllib2
How do i set the source IP/interface with Python and urllib2?