Discord Server TwitterDonation
Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GUI PROGRAMMING WITH PYTHON
#1
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
I'm No Body xD
[Image: OsSYIxa.gif]
Reply
#2
Thank you my bro keep it up ?

[Image: 0yaXvcy.gif]
We Are Anonymous, We Are Legion, We Do not Forgive, We do not Forget
Expect Us
Reply




Users browsing this thread: 1 Guest(s)