Ah well, some text got dropped. The last entry "attach" errors out in Jupyter; even through "attach?" says it takes "*.sage", as does the documentation referenced. Error UsageError: Invalid GUI request 'sage', valid ones are:dict_keys(['inline', 'nbagg', 'notebook', 'ipympl', 'widget', None, 'qt4', 'qt', 'qt5', 'wx', 'tk', 'gtk', 'gtk3', 'osx', 'asyncio'])
On Friday, December 24, 2021 at 10:16:25 AM UTC-5 Raymond Rogers wrote: > 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/7098ba0c-1f9f-4576-8f41-a23defb3f9d7n%40googlegroups.com.