Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

jupyter notebook save as python script without terminal prompts line numbers

#1-100 represents line range to save. Below code should be at the end of the notebook and the entire file ran. 
save -a myfile.py 1-100
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jupyter #notebook #save #python #script #terminal #prompts #line #numbers
ADD COMMENT
Topic
Name
6+7 =