gradecalculatorpy.calculate_grade

Module Contents

Functions

calculate_grade(input_file_path)

When all course components are presented, calculate the course overall grade based on information provided.

gradecalculatorpy.calculate_grade.calculate_grade(input_file_path)[source]

When all course components are presented, calculate the course overall grade based on information provided.

Parameters:

input_file_path (str) – Path to read the saved .csv file as a string. Under the current working directory to avoid permission issue. The path should include the file name.

Returns:

return_msg – The course overall grade once all course components present when all grades are present. Otherwise return warning message

Return type:

double

Examples

>>> calculate_grade('/DSCI524.csv')