Red Security
GUI PROGRAMMING WITH PYTHON - Printable Version

+- Red Security (https://redsecurity.info/cc)
+-- Forum: Programming (https://redsecurity.info/cc/forumdisplay.php?fid=5)
+--- Forum: Python (https://redsecurity.info/cc/forumdisplay.php?fid=9)
+--- Thread: GUI PROGRAMMING WITH PYTHON (/showthread.php?tid=453)



GUI PROGRAMMING WITH PYTHON - Mr. Nobody - 02-17-2018

This tutorial is for those guys who doesn't know about Tkinter. If you know about Tkinter then this is not for you, just skip. If you don't

know about Tkinter then welcome Smile


Well, I read Tkinter as a "Kinter". 

- Tkinter is a python library for develop GUI (GRAPHICAL USER INTERFACE) softwere. 

- How to download Tkinter ?
==> If you have downloaded latest version of python( 3.x version ) then it is inbuilt in it.
    You don't have to separetly download Tkinter. 

- How to use Tkinter ?
==> well, as this is the first tutorial. I'm only showing you how to use Tkinter in shortly.

Open your python editor. (Any of editor you like...!)

###############################################################################

ex. We are gone to make a frame only.

from Tkinter import *        / This will import Tkinter library

root = Tk()                      / This will creat a blank frame

root.mainloop()               / since computer works very fast the above code will generate a blank screen in fraction of second and will diappear. In order to see it 
                                       we are gone to put this code in loop. It means we are gone to repeat that screen loop infinetly. In other words we will see a steadyscreen  on the screen. 

###############################################################################
                      
Hope you enjoy. If ii got good response, i will creat series of tutorial about this. 

Byeeeeee Smile


RE: GUI PROGRAMMING WITH PYTHON - Mr.Kurd - 02-23-2018

Thank you my bro keep it up ?