nbgrader: writing code in external python files

48 views
Skip to first unread message

Guy Hoffman

unread,
Jul 25, 2023, 11:33:27 AM7/25/23
to Teaching with Jupyter Notebooks

I have a coding assignment, where students need to implement code in external modules that are loaded into the notebook using import statements.

Is there any way to apply the ### BEGIN SOLUTION and ### END SOLUTION functionality in the external files as well. I.e., can I have the solution code there and somehow generate a version of the file with that code replaced by ### YOUR CODE HERE ?

Thanks! 
Reply all
Reply to author
Forward
0 new messages