This script needs only Python 3.x, and MUST be run within a terminal.
Installation is as easy as cloning this repo and run check.py
file.
Student list must be organized as a CSV format file namelist.csv
as provided here. It's free to replace it with a new one with two columns of students' IDs and their names.
When this script is started, it automatically reads students' information from namelist.csv
as described above. After this process is done, a prompt will appear on the screen.
Input one score entry with format:
[student-id(-suffix)] [score]<Enter>
For example, we can input 001 10<Enter>
to represent score 10 for student with ID SA21011001. The shorter suffix used, the higher probability multiple choices will occur.
Delete one score entry with format:
[student-id(-suffix)] del<Enter>
Hint: del
is reserved for deleting a score. If del
is expected to be a valid score, the DELETE_MANIPULATOR
variable of the main script has to be modified. I plan to make it a parameter from command line in the future.
Show all entries with format:
s<Enter>
Save and exit with format:
q<Enter>