Run a notebook from console    
   Certainly a stupid question but is it possible to run a notebook from console? And how ?
Some options are discussed at
The following tool could also be useful:
Assuming that the notebook is foo.ipynb, you can type:
$ sage -n jupyter foo.ipynb
Once you close the notebook, the Jupyter server remains active. To open a new notebook, you can  type https://localhost:xxxx ( where xxxx usually is 8888) in your default browser and access the Jupyter landing page. If you want to finish working, you should stop manually the server.
EDIT (to answer @Cyrille's comment): You can do this:
foo.ipynb, in Jupyter.foo.py somewhere in your computer (probably in the Downloads folder)foo.py to foo.sagecd C:\path\to\folder to go to the folder where foo.sage is locatedsagefoo.sage by typing load("foo.sage")Asked: 2020-05-09 11:59:39 +0100
Seen: 884 times
Last updated: May 09 '20
 Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
 
                
                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.