GUI Programming Tutorial: Create a Login System in Python

Offered By
Coursera Project Network
In this Guided Tutorial, you will:

Create a Login System in Python

Use the Tkinter library to build a Graphical User Interface (GUI) from scratch

Clock1 hour and 30 minutes
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

By the end of this tutorial, you’ll be able to create a login system using python’s popular library Tkinter. You’ll learn how to create a Graphical User Interface (GUI) in Python from the scratch. You’ll learn how to create windows, labels, entry boxes and buttons. You’ll learn how to extract data from the entry boxes. You’ll learn how to change color, size orientation of most of Tkinter’s widgets. You’ll learn how to add functionality to the buttons. You’ll be capable of manipulating text files by writing, reading, appending and creating them. Out of all the GUI methods in Python, Tkinter is the most commonly used method. Python with Tkinter is the fastest and easiest way to create GUI applications. Tkinter widgets can be used to construct buttons, menus, data fields, etc. in a Python application. Once created, these graphical elements can be associated with or interact with features, functionality, methods, data or even other widgets. Note: This tutorial works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

Python ProgrammingTkinterGUI programming

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Create the main menu window

  2. Create the register window

  3. Register the user's info in a text file using Python

  4. Check whether the user's info already exists or not

  5. Create the login window and verify the user

How Guided Tutorials work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.