Ask Your Question
0

Load file in SageCloud

asked 10 years ago

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

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 10 years ago

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.

Preview: (hide)
link

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

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

calc314 gravatar imagecalc314 ( 10 years ago )

Thanks a lot calc314! Best regards

mresimulator gravatar imagemresimulator ( 10 years ago )

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

Seen: 979 times

Last updated: Apr 11 '15