Python Tkinter Tutorial in Hindi

Tkinter First GUI App – Tkinter In Hindi #1

Python

Tkinter First GUI AppTkinter In Hindi :- Friends Aaj Ham First GUI Aap Create Karne Wale Hain or Dekhne Wale Hain Ki Ham Python Main GUI App Kaise Banate Hain |

Tkinter First GUI App

Python Tkinter Ek PowerFul Gui Banane Wala Module Hai Jis se ham GUI Application Bana Sakte Hai Python Tkinter se Bahut Se Bade Bade GUI Application Banaye Gye Hai Or Iski Sabse Acchi Baat Ye Hai Ki Ye Bahut Easy hai Jise Ham Bilkul Aashan Tarike Se Learn Kar Sakte Hai |

Python Tkinter Ko Understand Karne Ke liye Ham Step By Step Follow Karenge |

Step 1: Sabse Pahle Aapko Pycharm Ko Download Karna Hoga Agar Aapke Pas Pycharm Software Nhi Hai to Niche Diye Link Par Jakar Pycharm Download Kar Sakte Hai |

PyCharm Link – Python setup

Step 2: Fir Uske Bad Aapko Python Ko Download Karna Hoga Agar Aapne Python download nhi kiya hai To Aap Niche Diye Link Par Click Karke Python Download Kar Sakte Hai |

Python Link – Download Now

Step 3: Ab Aapko Pycharm Ko Open Karna Hoga Or Fir Aapko Python Tkinter Ko Import Karna Hoga |

from tkinter import *
import tkinter as tk
from tkinter import ttk

Upper Diye Gye Code Me Hamne tkinter Ko import kiya hai |Uske Bad Ham Tkinter Python ko Istemal Kar Sakte Hai |

Step 4: Import Karne Ke Bad Ab Hame object ka name or fir hame tkinter loop ko closed karna hoga |

import tkinter as tk
from tkinter import ttk

win = tk.Tk()

win.mainloop()

Aap Code Ko Dekh Sakte Hai Hamne Sabse Pahle tkinter Ko Import Kiya Or Fir Hamne ek object win Name banaya hai ye hamne isliye banaya hai taki ham bar bar tk.Tk() na likh kar keval win likh sikhe isse ham program aashan ho jata hai | uske bad hamne win.mainloop() ko closed kiya hai iska matlab hai ki jo bhi ham program write karenge to ham iske under hi karenge |

win.mainloop() ka work hota hai ki jab tak mouse se GUI ko closed nhi kiya jaye tab tak ye bar bar chalti rahegi ye ek loop hoti hai |

Python Tkinter Tutorial in Hindi

Abhi Tak Jo Hamne Code Likha Hai Usse Keval Ye First Gui Application bani hain |

Friends Aaj Hamne Aapni First GUI Desktop Application Create Karli Hain. Mujhe Umeed Hain Ki Aapko Ye App Jarur Samnjh Aayi Hogi |

Leave a Reply

Your email address will not be published. Required fields are marked *