First time here? Check out the FAQ!

Ask Your Question
1

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

asked 4 years ago

sagelearner gravatar image

updated 0 years ago

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

Preview: (hide)

Comments

1 Answer

Sort by » oldest newest most voted
0

answered 4 years ago

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.

Preview: (hide)
link

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 ( 4 years ago )

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 ( 4 years ago )

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: 4 years ago

Seen: 684 times

Last updated: Aug 16 '20