Ask Your Question
0

Load file in SageCloud

asked 2015-04-10 16:31:24 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Hi!

I have two poryect in my Sage Cdoud account. In the proyect 'proyecto A' I have the worksheet 'equation.sagews'.

If I want to load these worksheet doing load('equation.sagews') I get the error:

IOError: [Errno 2] No such file or directory: 'equacion.sagews.sobj'

What am I doing wrong?

Best regards

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-04-10 21:03:47 +0200

calc314 gravatar image

The .sagews files are worksheets. So, if you click on it, it should open in the worksheet environment. If you want to run from the command line or use the load command, you can list commands in a .sage file and then use the load command in Sage to run the .sage file.

So, depending what you have done in your file, you might just have the wrong extension.

edit flag offensive delete link more

Comments

Thanks. I can load without any problem files .sage doing load('equacion.sage') but I get the error trying to load files .sagews. Best regards!

mresimulator gravatar imagemresimulator ( 2015-04-11 13:49:31 +0200 )edit

Right. You cannot use the load command with a worksheet, which is a .sagews file.

calc314 gravatar imagecalc314 ( 2015-04-11 15:39:44 +0200 )edit

Thanks a lot calc314! Best regards

mresimulator gravatar imagemresimulator ( 2015-04-11 20:51:28 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-04-10 16:31:24 +0200

Seen: 917 times

Last updated: Apr 11 '15