The tkinter Entry Widget

The tkinter Entry Widget

John Philip Jones

6 лет назад

54,571 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@googlegame2649
@googlegame2649 - 20.12.2021 22:05

your videos are wonderful...i just live them
just one suggestion: pls number the videos you have uploaded in the playlist(ex: #1,#2), it would be very helpful.
thank you!!!!

Ответить
@BaronVonBiffo
@BaronVonBiffo - 09.03.2021 19:53

I'm working my way through your play-list and wishing I'd found it earlier.

Excellent videos, well planned and structured and very professionally presented. Many thanks.

Ответить
@1aadithya9c25
@1aadithya9c25 - 28.02.2021 09:32

THANKS A LOT SIR. I UNDERSTOOD IT

Ответить
@Henry_Nunez
@Henry_Nunez - 17.02.2021 00:02

👏 Excelente. Very good 👏

Ответить
@sridevig4608
@sridevig4608 - 27.06.2020 16:22

Thanks a lot. I was looking for this from a long time.

Ответить
@lolkgraham1727
@lolkgraham1727 - 15.05.2020 23:54

Very very well explained, finally understood!! You are awesome!!

Ответить
@Kkyo_Raps
@Kkyo_Raps - 22.04.2020 13:12

thank you man! i needed that for my assignmetns. difference is that i needed to change label1 ito whatever is written in entry by clicking button. so i just din't inlcude label2 but still following your code and it worked thanks a lot for showing the ropes!!!!

Ответить
@anasbenbrik622
@anasbenbrik622 - 14.04.2020 01:02

Hello Thanks for the video it was really helpful but I have a problem how can I reach to you

Ответить
@sagarsabharwal7567
@sagarsabharwal7567 - 09.03.2020 23:19

R u british

Ответить
@ArbazKhan-ol1sz
@ArbazKhan-ol1sz - 21.11.2019 21:52

you are a life saver..god bless u

Ответить
@feezankhattak1573
@feezankhattak1573 - 05.09.2019 05:14

Excuse me sir! You told that Entry widget is used for text input. so Is there any thing to get the float number as input from the user using widget in tkinter...

Ответить
@mglyricsstudio1623
@mglyricsstudio1623 - 22.08.2019 16:59

How to change border color of entry widget? And. how to put placeholder in entry widget ? And . how to padding left to the placeholder.

Ответить
@dimitriosdesmos4699
@dimitriosdesmos4699 - 28.07.2019 19:47

I am trying to get text from an entry then delete the entry button for esthetic reasons and continue using the data, but i am not able to do it.
somelike Type Hello in the entry box and save it as a textvariable ...then save that to x like x=var1.get() .............. then after the entry widget is deleted by entry.destroy, .x is not equal to Hello but to an empty string..I have been at this for a whole day and i cannnot find out how to extract data from a widget entry, any thanks would be appreciated

Ответить
@oneplus1861
@oneplus1861 - 20.06.2019 21:08

Crystal CLEAR :))

Ответить
@TheDhrv04
@TheDhrv04 - 12.06.2019 08:20

Nicely done. :)

Ответить
@bensmith9253
@bensmith9253 - 20.05.2019 13:55

great great great great great great great great great great

Ответить
@leonardoignatius6738
@leonardoignatius6738 - 01.05.2019 20:52

Hey I got this error
name = entry1.get()
AttributeError: 'NoneType' object has no attribute 'get'
could you help me, please ?


here's my code:


from tkinter import *

def cek():
name = entry1.get()
string = "halo " + name
label2["text"] = string

root = Tk()
root.title("generator")
root.geometry('600x400')

label1 = Label(root,text = "what's your name?").pack()
entry1 = Entry(root).pack()
button1 = Button(root, text = "test", command = cek).pack()
label2 = Label(root).pack()

root.mainloop()


Thankyou

Ответить
@jeffreydilley3380
@jeffreydilley3380 - 23.04.2019 20:54

Might suggest throwing up a link to this in github so others can potentially copy / paste or double check to see if they made any errors. Otherwise great work!

Ответить
@WoodyPembs
@WoodyPembs - 04.02.2019 02:22

Finally found someone who knows his stuff and explains it clearly. Thanks!

Ответить
@pullsar7449
@pullsar7449 - 29.11.2018 12:58

Thanks Man! I appreciate it.

Ответить
@ventin75
@ventin75 - 29.10.2018 19:06

The annotations are awesome! Love it!

Ответить
@raspberrypi7216
@raspberrypi7216 - 21.10.2018 10:34

THIS GUY IS SO GREAT!!

Ответить
@MsLFilipe
@MsLFilipe - 11.09.2018 02:27

I'm beginner and I saw many ways to write with tkinter. That form is the simplest and useful. Without unnecessary classes and arguments to run the code and see the magic happens. Thank you for show how tkinter is easy.

Ответить
@joejones1123
@joejones1123 - 09.09.2018 04:03

Great Video series, thank you.

Ответить
@benhahn7105
@benhahn7105 - 28.04.2018 00:06

You know, taking away the like dislike bar is sketchy. If you trust the content your posting I see no reason why you wouldn't have it. It's a bad look.

Ответить
@johnpro2847
@johnpro2847 - 27.03.2018 05:45

Nice video.If you could provide the code this would be very helpful...trying to copy manually is very tedious ,Thanks John for the excellent vids

Ответить
@LOB2023
@LOB2023 - 25.03.2018 11:08

Thanks for the tutorial. I am facing below error while using .get() method. AttributeError: NoneType has no attribute ‘get’. Can you help me to solve this issue?

Ответить
@MaxGoddur
@MaxGoddur - 13.03.2018 00:52

Here we assign the string and Hello to a variable then dump that into the label2.
string_to_display="Hello " + name_of_user
label_2["text"]=string_to_display

Could we do this?
label_2["text"]="Hello " + name_of_user

Ответить
@SusanAmberBruce
@SusanAmberBruce - 12.03.2018 16:00

Fred Smith has always been popular in test and demo programs. Like the idea of you showing different ways of assigning data to widgets.

Ответить