Ask Your Question
1

Import export of project files

asked 13 years ago

Johan gravatar image

updated 10 years ago

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

Preview: (hide)

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

1 Answer

Sort by » oldest newest most voted
2

answered 13 years ago

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.

Preview: (hide)
link

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

Seen: 474 times

Last updated: Nov 15 '11