-
Notifications
You must be signed in to change notification settings - Fork 0
Seeuagaen/linux-project
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# Student Management System Description The Student Management System is a Python-based application that allows users to manage student data, including adding, editing, and removing student records. The system also supports saving and loading student data from a CSV file. This project was developed to simplify the management of student information in an educational institution. Features Add a new student record Edit an existing student record Delete a student record Clear all student records Save student data to a CSV file Load student data from a CSV file Display student data in a formatted table Requirements Python 3.x prettytable library Code Structure main.py: The main script that runs the application. students.csv: The CSV file used to store student data. Usage Start the application: Run the main.py file using Python: Add a new student: Select option 1 to add a new student. Enter the required details (first name, last name, patronymic, scholarship status, IIN, group, and address). Edit an existing student: Select option 2 and specify the index of the student record you want to edit. Enter the updated details. Delete a student: Select option 3 and specify the index of the student record you want to delete. Clear all student records: Select option 4 to clear all student records. Confirm your action when prompted. Exit the application: Select option 0 to exit the application. Any changes will be saved to the CSV file before exiting. Functions addStudent(lst: list) Prompts the user to enter the details of a new student and adds the student to the list. EditStudent(lst: list, index) Prompts the user to enter the updated details of an existing student and updates the student record in the list. RemoveStudent(lst: list, index) Removes the student record at the specified index from the list. getINT() -> int Prompts the user to enter a valid index and returns it. getIIN() -> int Prompts the user to enter a valid IIN and returns it. row_table(lst: list) Adds rows to the PrettyTable object from the student list. write_CSV(lst: list) Writes the student list to the CSV file.
About
Python code for Linux project Erasmus
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published