student
- class student.student(name: str, courses={}, completed={}, todo={})[source]
Class describing a student. A student contains the courses required by their program, the completed courses, and the ones to complete. Each course is a course object described by course.py. The courses in the student are stored in dictionaries. If you wanted to view the course ‘SENG265’ you would enter courses[‘SENG265’], which will return the course object.
- Parameters
name – Name of student (honestly worthless and never used)
courses – A dictionary of course (ex. courses[‘SENG265’] will return the course object for SENG265)
completed – Dictionary of completed courses (probably doesnt need to be a dictionary but is currently)
todo – Dictionary of courses that have not been completed (also probably doesnt need to be a dictionary but currently is)
- Returns
None
- courseValues()[source]
Sets importance for each course depending on this students program (ie the course they are in) :param: None :returns: None
- createCourseLists()[source]
After student is passed in with dict of courses this function sorts to completed and todo courses :returns: None