How to create GUI's in python without knowing how to code

Python
Post Reply
ldk92
Posts: 554
Joined: Fri Oct 21, 2022 5:49 am

Title is pretty much self explanatory, this is very helpful if you have trouble using tkinter or don't know how to code that well atm.
I'll explain how to set it all up, and if you're coming across any troubles, feel free to hit me up.


Link:

This Content Is Only To Registered Users

Please Register or Login To Unlock The Content!




Before you carry on reading, this tutorial is for windows users, if you're using linux or mac, I recommend reading the README file inside the zip. It also requires python version 2.7 or newer.



How to setup:



First things first, download and extract the zip. After that, open the pack and click the file location area, type cmd and press enter, it should open a console in that directory. Image to show what I'm talking about:

This Content Is Only To Registered Users

Please Register or Login To Unlock The Content!





Afterwards, type "python setup.py install"

Once that is complete, in the same console, type "pip install pygubu".

Once that is also complete, you can go ahead and close the console, and open up IDLE, where you will test if it has actually downloaded. To do this, type and run "import pygubu" into IDLE. If there are no errors, then you have been successful so far.

Lastly, go to your python file, scripts and run pygubu-designer.exe. (File location is usually C:\Python34\Scripts\pygubu-designer.exe)

If a program loads up where you can create your own GUI, congrats, you can follow instructions like a normal person.

If nothing loads up, do it again and check for any errors that occur in the console. If it says pip isn't a recognised command or whatever, I suggest completely deleting python and reinstalling it and trying it again.
Post Reply