1 | initial version |
Here's how I figured it out on Windows 10 with SageMath 9.1, for any future persons confused by this.
I decided to put my Sage scripts in the folder C:\scripts\sage
.
I added this path to Sage's load attach path so Sage knows where to look. I did this in the console with
sage: load_attach_path('C:\\scripts\\sage')
To load eaxmple.sage
from the above directory, I can now simply use
sage: load('example.sage')