##// END OF EJS Templates
add note about save_script to docs
MinRK -
Show More
@@ -188,6 +188,14 b' prior to import, you manually add the ``# <nbformat>2</nbformat>`` marker at'
188 the start and then add separators for text/code cells, you can get a cleaner
188 the start and then add separators for text/code cells, you can get a cleaner
189 import with the file broken into individual cells.
189 import with the file broken into individual cells.
190
190
191 If you want use notebooks as scripts a lot, then you can set::
192
193 c.NotebookManager.save_script=True
194
195 which will instruct the notebook server to save the ``.py`` export of each
196 notebook adjacent to the ``.ipynb`` at every save. Then these can be ``%run``
197 or imported from regular IPython sessions or other notebooks.
198
191 .. warning::
199 .. warning::
192
200
193 While in simple cases you can roundtrip a notebook to Python, edit the
201 While in simple cases you can roundtrip a notebook to Python, edit the
General Comments 0
You need to be logged in to leave comments. Login now