What compression use a sws worksheet file?
(I remember reading about it but could find again.)
(I remember reading about it but could find again.)
It's a tar.bz2 file. You can decompress and unpack a worksheet like so:
tar xvjf Interval_Notation.sws
results in a directory called sage_worksheet
with contents:
drwxr-xr-x 7 ? staff 238 Jun 21 10:15 cells
-rw-r--r-- 1 ? staff 6032 Feb 21 2011 worksheet.html
-rw------- 1 ? staff 6062 Feb 21 2011 worksheet.txt
-rw-r--r-- 1 ? staff 169 Feb 21 2011 worksheet_conf.pickle
You can also use the unix file
command to investigate if you don't know.
% file zemek.sws
zemek.sws: bzip2 compressed data, block size = 900k
It's a bzip2'ed file - apparently a tar.bz2
file, to be precise. See http://ask.sagemath.org/question/961/large-worksheet-upload-to-notebook, among others.
Asked: 2012-06-21 04:48:00 -0600
Seen: 672 times
Last updated: Jun 21 '12
Can I access my notebook worksheets in another computer via my account?
how to (automatically) convert many .sws to .ipynb?
How to publish a worksheet in the sage doc format?
How do I save my "workspace" in the notebook?
UnicodeDecodeError in Notebook Server if Worksheet is set to 'python' instead of 'sage'