Skip to content

abdulrahman-elhanafy/Python-Login-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🔐 Python Login & Signup System (Tkinter)

A simple Login & Signup GUI Application built with Python (Tkinter).
Users can create accounts and log in with stored credentials. Data is saved locally in a text file.


🚀 Features

  • User Sign Up with username & password
  • User Login authentication
  • Data stored in datasheet.txt (using dictionary format)
  • GUI built with Tkinter
  • Error handling for invalid logins and password mismatch

📂 Project Structure

login
├── images
│   ├── exist-user.png
│   ├── invalid-user.png
│   ├── login.png
│   ├── password-not-match.png
│   ├── sign-in-page.png
│   ├── sign-up-page.png
│   └── signup.png
└── LogInPage.py

🖼️ Demo

1. Sign In Page

Sign In

2. Existing User

Existing User

3. Invalid User

Invalid User

4. Sign Up Page

Sign Up

5. Password Mismatch

Password Mismatch


⚙️ How to Run

  1. Clone the repo:

    git clone https://github.com/abdulrahman-elhanafy/Python-Login-System.git
    cd Python-Login-System
  2. Run the app:

    python login.py

🛠️ Tech Stack

  • Python
  • Tkinter (for GUI)
  • AST (for safe string-to-dict conversion)

📌 Notes

  • All user credentials are stored in plain text (datasheet.txt).
  • For production apps, consider using hashed passwords and a real database.

🤝 Contributing

This is a beginner-friendly project 🎉. Feel free to:

  • ⭐ Star this repo if you like it
  • 🍴 Fork it and improve the code
  • 🔄 Open a Pull Request with new features or fixes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages