Skip to content

PedroSilva370/Login-System-with-Graphical-Interface-CustomTkinter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Login System with Graphical Interface (CustomTkinter)

Description

This project is a simple login system developed in Python using a graphical interface built with CustomTkinter. The application allows the user to enter a username and password, validate the credentials, and display a success or error message directly on the screen.

The main goal of this project is to practice fundamental concepts of GUI development, event handling, and data validation in Python.

Features

  • Modern dark mode interface
  • Username input field
  • Password input field
  • Login button
  • Credential validation
  • Dynamic feedback message (success or error)

Validation Rules

The login is considered valid only when:

  • Username: pedro
  • Password: 12345678

Any other combination will return an error message.

Technologies Used

  • Python
  • CustomTkinter

Code Structure

The code is organized into three main parts:

1. Appearance Configuration

Sets the application to dark mode

2. Validation Function

Retrieves user input, checks login credentials, and updates the interface

3. Interface Construction

Creates the main window, adds components, and displays feedback

How to Run

pip install customtkinter
python your_file_name.py
Learning Source

This project was built based on the following video:
https://www.youtube.com/watch?v=Px-DgrQ_wjI&list=WL&index=8

Possible Improvements
Hide password characters
Support multiple users
Connect to a database
Add user registration system
Improve UI design

Author

Pedro Gaudencio

About

A simple login system built with Python and CustomTkinter, featuring a modern dark-themed graphical interface. The application allows users to input a username and password, validates the credentials, and provides real-time feedback on the screen. This project focuses on practicing GUI development, event handling, and basic authentication logic.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages