Re: [sage-support] init.sage not running anymore

2024-03-03 Thread Jan Groenewald
Maybe related to this: https://stackoverflow.com/questions/73361664/asyncio-get-event-loop-deprecationwarning-there-is-no-current-event-loop On Sun, 3 Mar 2024 at 22:40, David Ayotte wrote: > Hello, > > Since I upgraded my SageMath to version 10.3.beta8, the init.sage script > located at

[sage-support] init.sage not running anymore

2024-03-03 Thread David Ayotte
Hello, Since I upgraded my SageMath to version 10.3.beta8, the init.sage script located at ~/.sage/init.sage stopped running when I start sage. I also get the following message right after the SageMath banner:

Re: [sage-support] init.sage

2022-09-08 Thread Rogerio
Solved :) Thank you! Em quinta-feira, 8 de setembro de 2022 às 01:34:46 UTC-3, wst...@gmail.com escreveu: > This seems relevant: > > > https://stackoverflow.com/questions/45818538/where-can-i-put-a-startup-script-in-jupyter > > On Wed, Sep 7, 2022 at 3:15 PM Rogerio wrote: > > > > I have some

Re: [sage-support] init.sage

2022-09-07 Thread William Stein
This seems relevant: https://stackoverflow.com/questions/45818538/where-can-i-put-a-startup-script-in-jupyter On Wed, Sep 7, 2022 at 3:15 PM Rogerio wrote: > > I have some frequently used small codes in the init.sage file. However, the > file is not loaded when I start a session with jupyter

[sage-support] init.sage

2022-09-07 Thread Rogerio
I have some frequently used small codes in the init.sage file. However, the file is not loaded when I start a session with jupyter or jupyterlab. To do it I have to use `load(sage.env.SAGE_STARTUP_FILE)`. How can I get init.sage automatically loaded when I start a session with jupyterlab?

[sage-support] init.sage and sage -c

2008-06-08 Thread kwatford
I have defined a function that starts up the notebook server with my desired preferences and placed the function definition into my init.sage script, so that whenever I use the command line, I don't have to remember the whole thing to start it up. Works fine. Since I usually go straight to the