The default behavior, at least if you start Sage from a terminal window 
with "sage -n", is to store the notebooks in the current directory. If you 
want to change this, then: after you download Sage, from a terminal you 
should run "sage --jupyter notebook --generate-config". This will print a 
message like

Writing default config to: 
/Users/jpalmier/.sage//jupyter-4.1/jupyter_notebook_config.py

Within the named file, there are lines

    ## The directory to use for notebooks and kernels.
    #  Default: ''
    # c.NotebookApp.notebook_dir = ''

You can change the last line to

    c.NotebookApp.notebook_dir = '/Users/my_user_id/any/directory/I/want/'

and Sage will store your notebooks in that directory.

On Tuesday, November 9, 2021 at 8:34:23 PM UTC-8 cyrille piatecki wrote:

> For Mac I don't know where the system keep the files. I have tried to find 
> it because some of my student use a Mac, but without success. Sorry
>
> ------------------------------
> *De: *"LouP" <louboog....@gmail.com>
> *À: *"sage-support" <sage-s...@googlegroups.com>
> *Envoyé: *Mardi 9 Novembre 2021 23:35:46
> *Objet: *Re: [sage-support] Using SageMath app online and saving 
> worksheets?
>
> Thank you Mr. Piatecki.  I should have mentioned I am using a Mac.  Sorry. 
> But it does sound like the files are local.  -- Lou Pecora
> On Tuesday, November 9, 2021 at 12:48:21 PM UTC-5 cyrille piatecki wrote:
>
>> You can install Sagemath on your computer if you download the good file (
>> https://www.sagemath.org/download.html).
>> Under Windows your files are stored into c:\user\yourname\...
>>
>> ------------------------------
>> *De: *"LouP" <louboog....@gmail.com>
>> *À: *"sage-support" <sage-s...@googlegroups.com>
>> *Envoyé: *Mardi 9 Novembre 2021 14:59:00
>> *Objet: *[sage-support] Using SageMath app online and saving worksheets?
>>
>> After Googling and checking the resources suggested I have not found 
>> answers to two simple questions about SageMath:
>> (1) Can I run this offline?
>> (2) Where are my worksheets stored and can I back them up?
>>
>> Thanks for any hints.
>>
>>  -- Lou Pecora
>>
>> -- 
>> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/4ad6d585-cfda-4336-b7cc-91f3a3fd7b05n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/sage-support/4ad6d585-cfda-4336-b7cc-91f3a3fd7b05n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> -- 
> 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...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/cc0827e6-3af8-45ea-8dc9-c06a3b726fb7n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/sage-support/cc0827e6-3af8-45ea-8dc9-c06a3b726fb7n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/76b099ae-6099-4f6f-9fd3-e53c7d21c16en%40googlegroups.com.

Reply via email to