Student.Register.and.Login.System.mp4
This Python application provides a simple student login and registration system using Tkinter for the graphical user interface and MySQL for data storage. It allows students to register with their personal and academic details and then log in to view their stored information.
- User Registration: Students can register by providing their username, password, roll number, admission number, class, phone number, email, city, hobby, and 10th result. Input validation ensures data integrity.
- User Login: Registered students can log in using their username and password. The system checks the entered credentials against the database and provides feedback.
- Data Storage: User data is stored securely in a MySQL database.
- Data Display: Upon successful login, the system displays the student's details in a user-friendly format.
- Login Attempt Limit: To prevent brute-force attacks, the system limits login attempts to three tries.
- Password Hiding: The password entry field uses a "show/hide" button for enhanced security.
- Intuitive GUI: The Tkinter-based interface provides a visually appealing and easy-to-use experience.
- Python: The core programming language.
- Tkinter: Python's standard GUI library.
- MySQL: Relational database management system for data storage.
mysql.connector
: Python library for connecting to MySQL.
-
Prerequisites:
- Ensure you have Python 3 installed.
- Install the necessary libraries:
pip install tkinter mysql-connector-python
- Set up a MySQL server and create a database named
student
.
-
Database Configuration:
- Update the database connection details within the
Main.py
file:mydatabase = mysql.connector.connect(host='localhost', user='root', password='Manoragavi-2517')
- Replace
'localhost'
,'root'
, and'Manoragavi-2517'
with your MySQL server credentials.
- Update the database connection details within the
-
Run the application:
python Main.py
-
Registration:
- Click the "REGISTER" button.
- Fill in all the required fields in the registration form.
- Click "SUBMIT" to register.
-
Login:
- Enter your registered username and password.
- Click the "LOGIN" button.
-
View Details:
- Upon successful login, a new window will appear displaying your stored details.
Main.py
: The main Python script containing the application logic and GUI implementation.images/
: Directory containing image files used in the GUI (ensure these are present).
- Enhanced Security: Implement more robust password hashing and salting.
- Error Handling: Improve error handling and user feedback for database interactions.
- User Management: Add features for administrators to manage student accounts.
- Modern UI: Consider using a more modern UI library for a more polished look and feel.
Contributions are welcome! Please feel free to submit pull requests or open issues.