Generate student version for external files #1818
Unanswered
guyhoffman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using nbgrader for the first time this semester, and in my assignment, students both write code in the notebook, but also implement functions in external files. They fill out code segments between specifically structured comments, like this:
Is there any way to have the "Generate" function also parse and replace code segments in files outside the notebook? I know that it is copying the whole directory, so maybe there's a hook there?
Right now I am using this somewhat hacky shell script to do the work, but I have to run this step separate and manage both versions of the file.
Thanks for this awesome tool!
Beta Was this translation helpful? Give feedback.
All reactions