# Revision history [back]

I am trying to use Sage on a mac and am not particularly computer savvy (e.g. I still haven't figured out what I am meant to do with PATH and find the installation documentation a bit forbidding). I am running sage from the command line from a particular folder which contains a file "test.sage" but when I put 'load("test.sage")' I get the following error message:

TypeError Traceback (most recent call last) <ipython-input-2-d772665a10d5> in <module>() ----> 1 load("test.sage")

990
993         return
994


288             if attach:
291     elif ext == '.spyx' or ext == '.pyx':
292         if attach:


TypeError: expected string without null bytes"

Earlier on I was trying the same thing and getting the message: "IOError('did not find file %r to load or attach'"

I wonder if someone could tell me what I am doing wrong or might try to fix the problem?

 2 None kcrisman 11887 ●36 ●123 ●238

I am trying to use Sage on a mac and am not particularly computer savvy (e.g. I still haven't figured out what I am meant to do with PATH and find the installation documentation a bit forbidding). I am running sage from the command line from a particular folder which contains a file "test.sage" but when I put 'load("test.sage")' I get the following error message:

TypeError                                 Traceback (most recent call last)
<ipython-input-2-d772665a10d5> in <module>()

990
993         return
994
994