Ask Your Question
0

Load file in SageCloud

asked 2015-04-10 09:31:24 -0600

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 14:03:47 -0600

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 06:49:31 -0600 )edit

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

calc314 gravatar imagecalc314 ( 2015-04-11 08:39:44 -0600 )edit

Thanks a lot calc314! Best regards

mresimulator gravatar imagemresimulator ( 2015-04-11 13:51:28 -0600 )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 09:31:24 -0600

Seen: 570 times

Last updated: Apr 11 '15