Discord Server Red Security Twitter Donation to Red Security Red Security Youtube Channel Red Security Tumblr Profile
Login or Register to Hide ads and Accessing all features on the forum

GUI PROGRAMMING WITH PYTHON

1 Replies, 2401 Views

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
[img=0x0]https://i.imgur.com/OsSYIxa.gif[/img]
(This post was last modified: 02-17-2018, 06:28 AM by Mr. Nobody.)
Thank you my bro keep it up ?
Rs
* Thankful to Allah *
Kurdy

Possibly Related Threads…
Thread Author Replies Views Last Post
  Tutorial Doubly Linked List in Python Covid-19 0 2,232 07-30-2022, 09:15 PM
Last Post: Covid-19
  Tutorial Linked List in Python Covid-19 2 2,614 07-30-2022, 08:25 PM
Last Post: Covid-19
  Tutorial File Handling in Python Covid-19 2 2,647 06-16-2022, 06:17 PM
Last Post: Covid-19
  Tutorial Exceptions in Python Covid-19 0 1,827 06-08-2022, 09:19 PM
Last Post: Covid-19
  Free Automate the boring stuff with Python Covid-19 0 1,593 06-07-2022, 06:58 PM
Last Post: Covid-19
  Tutorial Turtle in Python Covid-19 0 1,825 06-02-2022, 10:14 PM
Last Post: Covid-19
  Tutorial Python 3.5: Class Methods Covid-19 0 1,776 05-29-2022, 01:07 PM
Last Post: Covid-19
  Tutorial Python 3.2: Inheritance in Python Covid-19 2 2,805 05-27-2022, 06:47 PM
Last Post: Covid-19
  Tutorial Python 3.4: Encapsulation and Abstraction Covid-19 0 1,808 05-27-2022, 06:45 PM
Last Post: Covid-19
  Tutorial Python 3.3: Operator Overloading Covid-19 2 2,803 05-26-2022, 08:50 PM
Last Post: Covid-19



Users browsing this thread: 1 Guest(s)