Internal title:  Sage Tutorial v9.4 ยป Programming
Loading and Attaching Sage files
The instruction below fails with the last line "attach" in Jupyter.  
 Should I report this or just accept that the sage information in 
doc.sagemath.org doesn't include Jupyter?
----------------------------------
<https://doc.sagemath.org/html/en/tutorial/programming.html#loading-and-attaching-sage-files>

"
Next we illustrate how to load programs written in a separate file into 
Sage. Create a file called example.sage with the following content:
print("Hello World") print(2^3) 

You can read in and execute example.sage file using the load command.
sage: load("example.sage") Hello World 8 

You can also attach a Sage file to a running session using 
the attach command:
sage: attach("example.sage") Hello World 8 
"


-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/619ca3d2-502a-4a51-98ef-68847b565878n%40googlegroups.com.

Reply via email to