Brython makes running Python in the browser possible, and its aiming to replace JavaScript one day and be the scripting language used in browsers. This is a sample web app of Brython built on Python 3.9
pip install brython
pip install Flask
pip install gevent
- The
brython.js
,brython_stdlib.js
andunicode.txt
files inweb/views
were first generated by executingbrython-cli --install
as explained in the Local installation section of https://brython.info/static_doc/en/install.html - The
brython_modules.js
file is generated byapp.py
on each run by executingbrython-cli --modules
, then it's copied toweb/static/js
along with the other Brython JS files andunicode.txt