Apr-03-2017, 06:46 AM
I finsh the basics of python but I'm stuck on how to link code to GUI, any advice or tips ? Or websites that can help me learn the standard way of creating a GUI and link it ot the code?!
I finsh the basics of python but I'm stuck on how to link code to GUI
|
Apr-03-2017, 06:46 AM
I finsh the basics of python but I'm stuck on how to link code to GUI, any advice or tips ? Or websites that can help me learn the standard way of creating a GUI and link it ot the code?!
Apr-03-2017, 07:36 AM
Hello!
You can start from here: https://python-forum.io/Forum-GUI-tutorials Tkinter is GUI library built-in Python and this is a good point to start.
Apr-03-2017, 02:51 PM
I still consider myself a newbie in python. TKinter is the best and the easiest to learn, as wavic stated.
As for linking it to code, you would just need to reconfigure your variables to get their values from TKinter entry.
tkinter is quite easy. You can start using it after about an hour of experimentation
I post quite a bit of tkinter code under scripts & snippits see https://python-forum.io/Thread-Californi...lary-Files and https://python-forum.io/Thread-Show-Inst...age-detail which both use many widgets. also, here's a demo: ![]()
Apr-03-2017, 07:01 PM
When you talk about Python basics, did you already master classes? Because classes are really helpful for GUI related programs. Without a good understanding you might struggle a bit
Apr-04-2017, 07:18 AM
(Apr-03-2017, 02:51 PM)alicarlos13 Wrote: TKinter is the best and the easiest to learn Easiest to learn, yes. Sufficient for most purposes, yes. Best? It lacks some important capabilities like multithread support...
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net |
|