Submitting assignments

.. seealso:: :doc:`/command_line_tools/nbgrader-submit` Command line options for ``nbgrader fetch`` :doc:`/command_line_tools/nbgrader-list` Command line options for ``nbgrader list``

After working on an assignment, the student can submit their version for grading using nbgrader submit and passing the name of the assignment and the name of the class:


In [ ]:
%%bash
export HOME=/tmp/student_home && cd $HOME

nbgrader submit "Problem Set 1" "example_course"

Students can see what assignments they have submitted using nbgrader list --inbound:


In [ ]:
%%bash
export HOME=/tmp/student_home && cd $HOME

nbgrader list "example_course" --inbound

Importantly, students can run nbgrader submit as many times as they want, and all submitted copies of the assignment will be preserved:


In [ ]:
%%bash
export HOME=/tmp/student_home && cd $HOME

nbgrader submit "Problem Set 1" "example_course"

We can see all versions that have been submitted by again running nbgrader list --inbound:


In [ ]:
%%bash
export HOME=/tmp/student_home && cd $HOME

nbgrader list "example_course" --inbound