Hello everyone,
I have an interactive program in Python. The program does some calculations
with SageMath and graphs the results. The code is a bit long.
I want to embed the program on a webpage using SageCell and I wonder if I
can leave the Python program on the web server and use an external script:
<head>
. . . . . . .
<script>
sagecell.makeSagecell ({
inputLocation: '#plot'
})
</ script>
</ head>
. . . . . . .
<div id = "plot">
<script type = "text / x-sage" src = "/ src / somegraph.py"> </ script>
</ div>
or compile the program, for example, with CPython, and then include the
bytecode in the second script above:
<div id = "plot">
<script type = "application / octet-stream">
bytecode
</ script>
</ div>
Any suggestions will be appreciated,
Jorge
--
You received this message because you are subscribed to the Google Groups
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-cell/74636cbb-3bf9-4050-9467-5e8614da7961%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.