You are not logged in.
Pages: 1
Can someone recommend a good, easy GUI for Python? I've read that VI is good but I'm not that familiar with VI.
Oh, something available for Q4OS! Not Windows only!!!
Offline
Not sure what you mean by "GUI for python", but if you want an IDE then I would recommend PyCharm. If you want to create a GUI using Python then I would recommend using PyQt5 (or PyQt4 for more abundant documentation/examples) as I have found it pretty good. A GUI can be created using Qt5 Designer (a full development environment can be installed using the q4os-devpack available from the q4os download page)
Last edited by Dai_trying (2018-11-02 09:00)
Offline
Thanks Dai, I kinda thought you might answer!
I think you pretty well covered what I wanted. Have to download and install that dev pack. Looking for something to learn this winter!
I have programmed in BASIC (starting with the one in MSDOS around Win 3.0 time), Fortran a bit, C, C++ a bit, and quite a bit in Visual Basic 4 and 5. I was kinda hoping for something like VB4 or 5 IDE but can work with other methods.
Thanks Dai!
Offline
You're welcome, I am by no means an expert in Python but found it to be really easy to pick up and very useful to create small apps quite quickly, below is a small app I created to help me to scale images down, you put the width and height of an image into the two boxes at the top and then move the slider down to the required percentage so I could maintain aspect ratio. There are ways to resize images to automatically do this but I wanted the dimensions for a web page I was working on and wanted to make sure everything fitted correctly so I wrote this.
The first example shows the GUI file (sizeslider.py) and the logic file (main.py) this worked exactly how I expected and I was happy with it but then I merged the two into one file and ended up with a single file (new_main.py)
This is probably the most simple GUI app I have written and as you can see is only 4Kb in size, but saved me a lot of messing with maths (or math for USA).
Last edited by Dai_trying (2018-11-02 13:31)
Offline
Hi,
A bit late but will perhaps be useful for someone.
I recommend PySimpleGui. The german author did a really great job. It is built upon Tkinter but much much much easier and faster to use with a grid principle into which you set the components.
It is not usable for professional software (debatable...).
But it is perfect for fast and useful GUI supporting your scripts.
It is now in version 5 (not free) but can still be installable from pip on PySimpleGUI==4.60.5
Alex
Offline
I have seen this before but preferred to use Qt for my apps on Q4OS as it seemed a better fit, it could be very useful for others though so thanks for posting.
Offline
Pages: 1