Pyscript and Jupyter

Simple question with hopefully a simple answer.

Just been testing a new pyscript script in Jupyter and this is clearly registered in Home Assistant pyscript when I press run for the actual function code in the Jupyter cell. If I have all the code in the cell and click run, it is immediately available in Developer tools so no need to do the moving to a pyscript folder and reloading.

However, as I am new to Jupyter too, if I started a new session on another day, where is the code if I need to make changes? I have saved the session as a jpynb file but this can have lots of snippets in it and it may have been saved with that cell removed or overwritten.

Ideally, it should be somewhere accessible on Home Assistant so it is backed up with everything else. Where is it?