1 | initial version |
Why not just:
<script type="text/x-sage">
load('https://rawgit.com/path_to_the_file.py')
</script>
See a (temporary) example at the page: https://sagedebianlive.metelu.net/tmp/plop.html with python file https://sagedebianlive.metelu.net/tmp/plop.py (i do not have a github account, but it shoud work exactly the same).