RUVIDEO
Поделитесь видео 🙏

7.14 Python GUI User login: Create a user login system with Python and Tkinter

📁 Обучение 👁️ 16 📅 02.12.2023

This video show how to create a user login to your GUI using python and Tkinter. This video builds on skills from previous videos and use them to build a user login system. It shows you how to create a login and how to remove the login box but keep other elements that you want to stay when the user has logged in.

0:00 Introduction, imports and screen set up
0:55 Create a list of users allowed to login
1:20 Explain why use the canvas method to place objects
2:00 Create three canvas to hold elements of the GUI
4:45 Place a logo in to one of the canvas
5:45 Create the login box and place it in the canvas
6:20 Run and test
6:30 Create a login button and place by the login box
7:00 Create the command for the login button to do when clicked
7:40 Create a new user button
8:30 Run and test
9:35 Add the mainloop method
10:35 Create the current user function
12:30 Remove the login box when the users login is accepted
13:40 Run and test
14:00 Create a home screen for after the user has logged in
14:30 Give a message if the user login is not accepted and return to login screen
16:00 Run and test
17:00 Add a welcome login message
17:30 Run and test
18:00 Debug - break the loop when the username is found
19:10 Remove the red gridlines and boarders
19:30 Run and test and debug again
20.55 Fix the home screen coding error
21:15 Last run and test


If you have any questions or would like a further video's making please feel free to ask in the comments.

This is part of a series of videos showing ways to use Python with Tkinter to create a GUI. If useful then please like and subscribe.

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «7.14 Python GUI User login: Create a user login system with Python and Tkinter», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.