/python_editor_wasm

Run Python code in browser using Pyodide and Codemirror

Primary LanguageHTML

Running Python in the Browser with WebAssembly

A code editor that runs Python in the browser using Pyodide, CodeMirror and WebAssembly.

Want to learn how to build this?

Check out the post.

Want to use this project?

  1. Clone the repo:

    git clone https://github.com/amirtds/python_editor_wasm

  2. 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
  3. Run the flask app:

    flask run

  4. Navigate to http://127.0.0.1:5000/