Brython - クライアントサイドの Web プログラミング用 Python 3 の実装
Brython
本家: Brython
ソースコード: GitHub - brython-dev/brython: Brython (Browser Python) is an implementation of Python 3 running in the browser
2019/08/06 現在の Brython のバージョンは 3.7.4 である。
コンソール
HTML ソースコード
<html> <head> <style> .codearea { background-color: #000; color: #fff; font-family: 'Oxygen Mono', Consolas, 'Liberation Mono', 'DejaVu Sans Mono', monospace; font-size: 14px; overflow: auto; width: 100%; height: 100%; } </style> </head> <body> <textarea id="code" class="codearea" rows="20"></textarea> <script type="text/python3" src="/_media/javascript/brython/console.py" id="__main__"></script> <script src="/_media/javascript/brython/brython.js" defer></script> <script src="/_media/javascript/brython/brython_stdlib.js" defer></script> <script> jQuery(function(){ brython({'debug':1}); }); </script> </body> </html>