Hello, I added a link in the submissions page to a notebook splitter script I wrote that I thought might be useful to students. Basically, when you run it, it prompts you for a Jupiter notebook and then saves files with the code output. It is also able to handle cases where there are multiple languages in a notebook (i.e. Python code will go into a .py file, code preceded by ! or %bash will go into a .sh file)
Hello, I added a link in the submissions page to a notebook splitter script I wrote that I thought might be useful to students. Basically, when you run it, it prompts you for a Jupiter notebook and then saves files with the code output. It is also able to handle cases where there are multiple languages in a notebook (i.e. Python code will go into a
.py
file, code preceded by!
or%bash
will go into a.sh
file)