[sage-support] Re: Documentation error https://doc.sagemath.org/html/en/tutorial/programming.html? attach

2021-12-24 Thread Raymond Rogers
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?
> --
>
> 
>
> "
> 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.


[sage-support] Documentation error https://doc.sagemath.org/html/en/tutorial/programming.html? attach

2021-12-24 Thread Raymond Rogers
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?
--


"
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.