Skip to content

TheSteveCode/python-tkinter-customtkinter-login-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Login Form with Python Tkinter

👋 Welcome to the Login Form project! This is a simple login interface built using

Python's Tkinter library. If you want to see how this was created step by step, check out

the video tutorial on The Steve Code YouTube channel. Don't forget to subscribe for

more coding tutorials!

Features

  • Dark Mode: This form comes with a sleek dark mode UI.
  • User Authentication:strong Validates user input for a basic username and password.

Getting Started

To run this application, ensure you have Python installed. Clone this repository and run

the main.py file to launch the application.

python main.py

How it Works

The code uses Tkinter and CustomTkinter modules to create a simple login interface.

Here's a breakdown of what each section does:

  • Setting Dark Mode: The customtkinter module is used to set the appearance

    mode to dark for the form.

  • App Class: Defines the main application class and initializes necessary variables.
  • Create Widgets: Sets up the GUI elements including username and password entry

    fields, login button, and validation text.

Usage

  1. Enter your username and password.
  2. Click the "Login" button.
  3. If the credentials match (username: 'steve', password: '123'), a welcome message

    appears; otherwise, an error message is displayed.

Feel free to modify and expand upon this code for your projects!

Contributions

Contributions are welcome! If you find any issues or want to enhance the functionality,

submit a pull request or open an issue.

About

This is a minimal version of a login form with python, tkinter and custkinter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages