| 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.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.