On Tue, Nov 24, 2009 at 7:06 PM, Dan Drake <dr...@kaist.edu> wrote:
> On Wed, Nov 25, 2009 at 4:01 AM, Bernhard Esslinger 
> <bernhard.esslin...@db.com> wrote:
>> My question is: Is there an easy way to move *.PY files instead of *.SWS
>> files, as the SWS file are very big?
>
> SWS files are just bzip'ed tar files. You can do
>
> $ tar jtf foo.sws
>
> to see the files inside a worksheet. If the .sws file is very big, it's
> probably because there are lots of snapshots stored in it, so you could
> extract the files, delete all the snapshot files, and then recompress
> it. The actual code of the worksheet is in the file worksheet.txt.


  (1) in sage >= 4.2 snapshots are never saved in worksheet files.  I
think they might be saved in older version.

 (2) the file is named worksheet.html now, instead of worksheet.txt
(like it used to be).

William

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to