Ask Your Question
1

how to convert .sws files of old legacy notebook to .ipynb format

asked 2020-08-16 10:34:14 +0100

sagelearner gravatar image

updated 2024-04-22 20:21:04 +0100

FrédéricC gravatar image

I recently switched to SageMath 9.1. I am having problem to upload my old .swsfiles in the new jupyter norebook. Any help will be appreciated. I am new to linux

edit retag flag offensive close merge delete

Comments

1 Answer

Sort by » oldest newest most voted
0

answered 2020-08-16 11:55:49 +0100

tmonteil gravatar image

The converter was included in the old sagenb, which does not exist anymore because it was written in Python 2 and is unmaintained.

We are working on having the converter (extracted fromsagenb source code) back in Sage, see trac ticket 28838

Another possibility is to install an old version of Sage and translate the .sws files to .rst and then from .rst to .ipynb format with the sage -rst2ipynb command.

If you do not want to install anything, you can the Sage Debian Live whose current version on the Sage mirrors still provides sagenb and the sage -sws2rst command.

edit flag offensive delete link more

Comments

Thank you. Where can I find an old version of Sage? Will the old legacy notebook work in the old Sage?

sagelearner gravatar imagesagelearner ( 2020-08-16 12:22:52 +0100 )edit

You can find all old versions of Sage on the download page including old binaries, see https://www.sagemath.org/download.html

Sébastien gravatar imageSébastien ( 2020-08-16 19:53:17 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2020-08-16 10:34:14 +0100

Seen: 670 times

Last updated: Aug 16 '20