Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
# entry widget = textbox that accepts a single line of user inputfrom tkinter import *def submit(): username = entry.get() #gets entry text print("Hello "+username)def delete(): entry.delete(0,END) #deletes the line of textdef backspace(): entry.delete(len(entry.get())-1,END) #delete last characterwindow = Tk()window.title("user input")label = Label(window,text="username: ")label.config(font=("Consolas",30))label.pack(side=LEFT)submit = Button(window,text="submit",command=submit)submit.pack(side = RIGHT)delete = Button(window,text="delete",command=delete)delete.pack(side = RIGHT)backspace = Button(window,text="backspace",command=backspace)backspace.pack(side = RIGHT)entry = Entry()entry.config(font=('Ink Free',50)) #change fontentry.config(bg='#111111') #backgroundentry.config(fg='#00FF00') #foregroundentry.config(width=10) #width displayed in characters#entry.insert(0,'Spongebob') #set default text#entry.config(state=DISABLED) #ACTIVE/DISABLED#entry.config(show='*') #replace characters shown with x characterentry.pack()window.mainloop()
clear, easy to understand and very useful tutorial. Great!
Thanks a lot! ☺
Ok. your video, helped me... Thankfull
Super helpful. ❤
Thank you my brother i from iraq i abaricyou helo me now thank youi like you and i Subscribe to your channel
This feels me like gigachad is behind pc lol
Wow!
How would I get multiple user data entry inputs and display those inputs on a separate text line? Maybe even type out simultaneously on that separate line as well, in GUI format?Thanks. Your vids are great!!!
The name of the porgram you imagined by video
super! is there a way to also show py console output in a ttk widget?
Awesome
Is there any way that I can add some text with the entry widget for user to know what to enter? like a placeholder or something
TypeError: expected string or bytes-like object, got 'dict'
I get an error that self.tk.cakk(_tkinter.TclError: can't invoke "button" command: Application has been destoryed
you need to name the button() to Button() with caps
Amazing Broooo!!!
do you have videos about padX and padY?
Can we make a backspace command on label
Thanks bro
wow!
how is going bro
hey!
@@BroCodez keep those videos coming, i know you might not get the views you want yet but some of us enjoy them
# entry widget = textbox that accepts a single line of user input
from tkinter import *
def submit():
username = entry.get() #gets entry text
print("Hello "+username)
def delete():
entry.delete(0,END) #deletes the line of text
def backspace():
entry.delete(len(entry.get())-1,END) #delete last character
window = Tk()
window.title("user input")
label = Label(window,text="username: ")
label.config(font=("Consolas",30))
label.pack(side=LEFT)
submit = Button(window,text="submit",command=submit)
submit.pack(side = RIGHT)
delete = Button(window,text="delete",command=delete)
delete.pack(side = RIGHT)
backspace = Button(window,text="backspace",command=backspace)
backspace.pack(side = RIGHT)
entry = Entry()
entry.config(font=('Ink Free',50)) #change font
entry.config(bg='#111111') #background
entry.config(fg='#00FF00') #foreground
entry.config(width=10) #width displayed in characters
#entry.insert(0,'Spongebob') #set default text
#entry.config(state=DISABLED) #ACTIVE/DISABLED
#entry.config(show='*') #replace characters shown with x character
entry.pack()
window.mainloop()
clear, easy to understand and very useful tutorial. Great!
Thanks a lot! ☺
Ok. your video, helped me...
Thankfull
Super helpful. ❤
Thank you my brother i from iraq i abaric
you helo me now thank you
i like you and i Subscribe to your channel
This feels me like gigachad is behind pc lol
Wow!
How would I get multiple user data entry inputs and display those inputs on a separate text line? Maybe even type out simultaneously on that separate line as well, in GUI format?
Thanks. Your vids are great!!!
The name of the porgram you imagined by video
super! is there a way to also show py console output in a ttk widget?
Awesome
Is there any way that I can add some text with the entry widget for user to know what to enter? like a placeholder or something
TypeError: expected string or bytes-like object, got 'dict'
I get an error that self.tk.cakk(_tkinter.TclError: can't invoke "button" command: Application has been destoryed
you need to name the button() to Button() with caps
Amazing Broooo!!!
do you have videos about padX and padY?
Can we make a backspace command on label
Thanks bro
wow!
how is going bro
hey!
@@BroCodez keep those videos coming, i know you might not get the views you want yet but some of us enjoy them