"
Next we illustrate how to load programs written in a separate file into Sage. Create a file called example.sage with the following content:
You can read in and execute example.sage file using the load command.
You can also attach a Sage file to a running session using the attach command: