A code editor that runs Python in the browser using Pyodide, CodeMirror and WebAssembly.
Check out the post.
-
Clone the repo:
git clone https://github.com/amirtds/python_editor_wasm
-
Create a virtual environment and Install the dependencies:
cd python_editor_wasm python3.10 -m venv env source env/bin/activate pip install -r requirements.txt
-
Run the flask app:
flask run
-
Navigate to http://127.0.0.1:5000/