Back to Browse

How to Add Label and Entry Box in Tkinter #5 | GUI in Python | Tkinter Tutorial | Widgets| SDPGuruji

1.0K views
Nov 6, 2020
4:37

Python for Beginners, Python in Hindi, How to Add Label and Entry Box in Tkinter in Hindi, GUI in Python, Tkinter Tutorial In this tutorial, we are going to see the different types of widgets. Among all, there are two very important and popular widgets called LABEL and ENTRY BOX. Also, we are going to cover the different attributes of the pack( ) method. The label is used to display the text which we want to write. It specifies the container box. This widget is used to provide the message to the user which can be directly displayed to the user. For creating a label, we need to follow the syntax: var1 = Label (root, text= “User Name”) The entry box widget is used to provide a single line text. It works as a textbox where we can write our information. var2 = Entry (root, bd = 5) where bd is the border of the entry box. pack() method is used to set the labels or entry box’s position on the window. By default, the position is at the top. But the pack() method has four attributed and they are as follows: 1) Top 2) Bottom 3) Right 4) Left Note: You can change and add the various attributes as per your preference. Do practice this!! And let us know your suggestions, queries, and reviews! Happy Programming :) ----------------------------------------------------------------------------------------------------------------------------------- If you have missed anything regarding the python, surf through these links below: Arc On Canvas Using Tkinter: https://youtu.be/iuNXLFguiOo Create Message Box Using Tkinter: https://youtu.be/wnRwqSX-nU8 Create Button using Tkinter: https://youtu.be/oViWtIrNv4Y Create a Tkinter Window: https://youtu.be/D2Ix2zMBvxw Sorting Data into Table: https://youtu.be/tijHY4OhQ7Y Delete Data from Table: https://youtu.be/4XOMqWYzxuo Update Data in Table: https://youtu.be/AQn_Rcixk_s Insert Data into Table: https://youtu.be/d_TKHwRqdbc Create Table in Database: https://youtu.be/nvlrRhWLbJs Create a Database in Python: https://youtu.be/ZODMokTe950 -------------------------------------------------------------------------------------------------------------------------------------- You’ll also find us here!! Website: https://sdpguruji.in/ Play Store App: https://play.google.com/store/apps/de... Instagram: https://www.instagram.com/sdpguruji/ Facebook: https://www.facebook.com/sdp.guruji.3 LinkedIn: https://www.linkedin.com/in/sdpguruji Telegram: https://t.me/sdpguruji -------------------------------------------------------------------------------------------------------------------------------------- For more such informative Python videos, color the thumbs up button blue, share the videos, and yes don’t forget to hit the subscribe button and press the bell icon for remainders. Stay Tuned!!! #SDPGuruji #TkinterInPython #Tkinter #GUIinPython #PythonGUI #label #entry #labelentryboxintkinter #PythonTkinter #TkinterLibrary #SDPGurujiPython #PythonSDPGuruji #PythonTutorial #Hindi

Download

0 formats

No download links available.

How to Add Label and Entry Box in Tkinter #5 | GUI in Python | Tkinter Tutorial | Widgets| SDPGuruji | NatokHD