Ask Your Question
1

Import export of project files

asked 2011-11-15 01:33:18 +0100

Johan gravatar image

updated 2015-01-14 16:20:48 +0100

FrédéricC gravatar image

Hallo.

Once I used sage under linux. the install was easy just untar and use the system. The problem came when the server was upgraded and sage did not work any more. Since all my projects was stored via the web interface I could not find then and lost all my work.

I move to gap since i can save a txt file containing my work.

Before I try sage again, is it possible to save my project files where I want then (eg in cvs) in a human readable format?

Kind Regards Johan

edit retag flag offensive close merge delete

Comments

@Johan, which server are you referring to? If your worksheets still exist (which they may, and you can ask at sage-support@googlegroups.com), you can easily download them as .sws files, which are just zipped folders. The file worksheet.html inside that ball is as human-readable as anything else in Sage. There are lots of other ways to save it too, but it depends on what you want to save.

kcrisman gravatar imagekcrisman ( 2011-11-15 10:29:40 +0100 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2011-11-15 11:07:08 +0100

Johan, you can run Sage at the shell prompt, just as you run GAP. Then of course everything is very similar to using Python, GAP or any other interpreted language. You can put your Sage code in text files, with extension .sage, load them, and off you go!

In case, your Sage worksheets are still most probably in your Linux account directory, in the subdirectory .sage/sage_notebook.sagenb/home/admin/ It should be possible to recover what's there, if needed.

edit flag offensive delete link more

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: 2011-11-15 01:33:18 +0100

Seen: 443 times

Last updated: Nov 15 '11