Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to convert .sws to .ipynb?

Thanks to Volker Braun, there is a great tool to convert sagenb work sheets to jupyter ones, e.g.:

sage --notebook=export --ipynb=newname.ipynb admin:383

However, I got a folder full of exported worksheets as .sws files that are not in my .sagenb folder. Do I have to import them one by one, then find out their numbers and export using a command equivalent to the above? Surely there must be a way to automate this from the command line or convert directly. Or is there a way to pass an .sws-file to sage --notebook=export? https://github.com/vbraun/ExportSageNB does not mention such a possibility. Thanks already for your help!

click to hide/show revision 2
None

how to convert .sws to .ipynb?

Thanks to Volker Braun, there is a great tool to convert sagenb work sheets to jupyter ones, e.g.:

sage --notebook=export --ipynb=newname.ipynb admin:383

However, I got a folder full of exported worksheets as .sws files that are not in my .sagenb folder. Do I have to import them one by one, then find out their numbers and export using a command equivalent to the above? Surely there must be a way to automate this from the command line or convert directly. Or is there a way to pass an .sws-file to sage --notebook=export? https://github.com/vbraun/ExportSageNB does not mention such a possibility. Thanks already for your help!