ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 11 Apr 2015 20:51:28 +0200Load file in SageCloudhttps://ask.sagemath.org/question/26481/load-file-in-sagecloud/ 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 regardsFri, 10 Apr 2015 16:31:24 +0200https://ask.sagemath.org/question/26481/load-file-in-sagecloud/Answer by calc314 for <p>Hi!</p>
<p>I have two poryect in my Sage Cdoud account. In the proyect 'proyecto A' I have the worksheet 'equation.sagews'.</p>
<p>If I want to load these worksheet doing <code>load('equation.sagews')</code> I get the error:</p>
<p><code>IOError: [Errno 2] No such file or directory: 'equacion.sagews.sobj'</code></p>
<p>What am I doing wrong?</p>
<p>Best regards</p>
https://ask.sagemath.org/question/26481/load-file-in-sagecloud/?answer=26486#post-id-26486 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.Fri, 10 Apr 2015 21:03:47 +0200https://ask.sagemath.org/question/26481/load-file-in-sagecloud/?answer=26486#post-id-26486Comment by mresimulator for <p>The <code>.sagews</code> 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 <code>load</code> command, you can list commands in a <code>.sage</code> file and then use the <code>load</code> command in Sage to run the <code>.sage</code> file.</p>
<p>So, depending what you have done in your file, you might just have the wrong extension.</p>
https://ask.sagemath.org/question/26481/load-file-in-sagecloud/?comment=26500#post-id-26500Thanks. I can load without any problem files `.sage` doing `load('equacion.sage')` but I get the error trying to load files `.sagews`. Best regards!Sat, 11 Apr 2015 13:49:31 +0200https://ask.sagemath.org/question/26481/load-file-in-sagecloud/?comment=26500#post-id-26500Comment by calc314 for <p>The <code>.sagews</code> 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 <code>load</code> command, you can list commands in a <code>.sage</code> file and then use the <code>load</code> command in Sage to run the <code>.sage</code> file.</p>
<p>So, depending what you have done in your file, you might just have the wrong extension.</p>
https://ask.sagemath.org/question/26481/load-file-in-sagecloud/?comment=26502#post-id-26502Right. You cannot use the `load` command with a worksheet, which is a `.sagews` file.Sat, 11 Apr 2015 15:39:44 +0200https://ask.sagemath.org/question/26481/load-file-in-sagecloud/?comment=26502#post-id-26502Comment by mresimulator for <p>The <code>.sagews</code> 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 <code>load</code> command, you can list commands in a <code>.sage</code> file and then use the <code>load</code> command in Sage to run the <code>.sage</code> file.</p>
<p>So, depending what you have done in your file, you might just have the wrong extension.</p>
https://ask.sagemath.org/question/26481/load-file-in-sagecloud/?comment=26505#post-id-26505Thanks a lot calc314! Best regardsSat, 11 Apr 2015 20:51:28 +0200https://ask.sagemath.org/question/26481/load-file-in-sagecloud/?comment=26505#post-id-26505