Re: [sage-devel] modules/packages in an @interact

2017-05-25 Thread Jeroen Demeyer
I don't fully understand what you want to do, but please have a look at src/sage/interacts There, various interacts are defined which can be called by the user. It works both in SageNB and Jupyter. I guess your package could do something similar. If you only care about Jupyter, there are

[sage-devel] modules/packages in an @interact

2017-05-24 Thread jkane
I would like to re-use and organize code over multiple "interacts". In python this is done via modules/packages. Specifically, I request advise on how to do the following - 1.) define functions and put them in an appropriately named file. 2.) tell the html page that is running an "interact"