@@ -30,13 +28,13 @@ Note this scripts does not grade your report. To grade your report, use:
...
@@ -30,13 +28,13 @@ Note this scripts does not grade your report. To grade your report, use:
> python report1_grade.py
> python report1_grade.py
Finally, note that if your report is part of a module (package), and the report script requires part of that package, the -m option for python may be useful.
Finally, note that if your report is part of a module (package), and the report script requires part of that package, the -m option for python may be useful.
As an old, suppose the report file is Documents/course_package/assignment1_dp.py, and `course_package` is a python package. Change directory to 'Documents/` and execute:
For instance, if the report file is in Documents/course_package/assignment1_dp.py, and `course_package` is a python package, then change directory to 'Documents/` and run:
> python -m course_package.report1
> python -m course_package.report1
see https://docs.python.org/3.9/using/cmdline.html
see https://docs.python.org/3.9/using/cmdline.html