Sage Cell Server and Modules

27 views
Skip to first unread message

Pedro Cruz

unread,
Jul 18, 2013, 9:43:58 AM7/18/13
to sage-s...@googlegroups.com
Dear Sage Cell users and authors,

We are planning to embed
at our local page "P".

What is the best way to incorporate a *simple* sage/python module for all calculations using our local sage page "P" ?

Thank you,
Pedro



Jason Grout

unread,
Jul 18, 2013, 10:57:15 AM7/18/13
to sage-s...@googlegroups.com
Put the module on the internet somewhere, and inside the sage cell
server code, do:

load("http://address.to/your/module.py")

That will run your module before executing any following code.

Thanks,

Jason


Reply all
Reply to author
Forward
0 new messages