Ask Your Question

Daniel R. Grayson's profile - activity

2015-01-20 18:29:28 +0100 received badge  Famous Question (source)
2014-01-19 13:20:30 +0100 received badge  Notable Question (source)
2013-09-23 10:32:56 +0100 received badge  Popular Question (source)
2013-05-30 08:09:28 +0100 commented answer newby has trouble with "load" in cloud.sagemath.com

Yes, with standard sage, "load" provokes a message "DeprecationWarning: Use %runfile instead of load", but loads it anyway. But in a "worksheet", "%runfile" doesn't work, either, resulting in "NameError: name 'runfile' is not defined"

2013-05-29 23:06:48 +0100 asked a question newby has trouble with "load" in cloud.sagemath.com

I get a syntax error when trying the command

load "example.sage"

in a workspace in cloud.sagemath.com:

Error in lines 1-1
Traceback (most recent call last):
  File "/mnt/home/VCQT9SWb/.sagemathcloud/sage_server.py", line 412, in execute
    exec compile(block, '', 'single') in namespace, locals
  File "<string>", line 1
    load "example.sage"
                      ^
SyntaxError: invalid syntax