This Python-based Student Registration System allows admins to manage students and courses, and enables students to register and manage their courses. Data is stored using a file-based approach.The fact that i made this for my school project.
- Remove Student
- Add Course
- Remove Course
- Unregister Student from Course
- View Student Info
- View All Students
- Register
- Login
- View Available Courses
- Register for a Course
- View Profile
- Admin Login
- Student
- Register
- Login
- Exit
- Default Admin Email:
[email protected]
- Default Admin Password:
admin
- Students can register by providing their name, student ID, and password.
- Once registered, students can log in using their student ID and password.
- Students' data is stored in
students.txt
. - Courses' data is stored in
courses.txt
.
- Python 3.x installed on your system.
-
Clone the repository:
git clone https://github.com/fitsumhelina/student-registration-system.git cd student-registration-system
-
Run the script:
python main.py
-
Upon running the script, you will be presented with a menu of options:
1. Admin Login 2. Student - Register - Login 3. Exit
-
Select an option by entering the corresponding number.
-
Follow the prompts to perform the desired action.
This class manages the registration system, providing methods for student registration, login, course management, and data persistence.
register_student(name, student_id, password)
: Registers a new student.login_student(student_id, password)
: Authenticates a student login.add_course(course_code, course_name)
: Adds a new course to the system.remove_course(course_code)
: Removes a course from the system.remove_student(student_id)
: Removes a student from the system.unregister_student_from_course(student_id, course_code)
: Removes a student from a course.view_student_info(student_id)
: Displays information about a specific student.view_all_students()
: Displays information about all registered students.load_data()
: Loads data from storage (students and courses files).save_data()
: Saves data to storage (students and courses files).
- Fork the repository.
- Create your feature branch (
git checkout -b feature/AmazingFeature
). - Commit your changes (
git commit -m 'Add some AmazingFeature'
). - Push to the branch (
git push origin feature/AmazingFeature
). - Open a Pull Request.
For any questions or suggestions, please open an issue or contact the repository owner via LinkedIn.
This project is licensed under the MIT License - see the LICENSE file for details.