Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If what you want to do is 'embed' Sage-specific Python code on a website, execute that code, and have the output of that code displayed, the Sage Cell Server (demo at aleph.sagemath.org) exists for just this purpose. The current repository is located at github.com/sagemath/sagecell/ and instructions for embedding into arbitrary HTML files are located at github.com/sagemath/sagecell/blob/master/doc/embedding.rst. The example at the very bottom of that page is probably the easiest way to get started.