Ask Your Question

Revision history [back]

The .sws format is actually .tar.bz2 -- a compressed directory containing the input and output for each cell. So you can uncompress it with the tar command to extract your original input into a .sage file. See

https://groups.google.com/forum/#!topic/sage-devel/qStEoQPxRss

and

http://ask.sagemath.org/question/7507/what-compression-use-a-sws-worksheet-file/

The .sws format is actually .tar.bz2 -- a compressed directory containing the input and output for each cell. So you can uncompress it with the tar command to extract your original input into a .sage file. See

https://groups.google.com/forum/#!topic/sage-devel/qStEoQPxRss

and

http://ask.sagemath.org/question/7507/what-compression-use-a-sws-worksheet-file/

Unfortunately I don't know of an automated tool to do this, but it should be reasonably straightforward.