Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 856 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 856 Bytes

PyConsole

Railway Badge

Turn browser into a console for Python using FastHTML (in 34 lines).

Usage

Setup

pip install python-fasthtml
git clone https://github.com/iamaziz/fh_pyconsole.git
cd fh_pyconsole

Run

python main.py

Open browser and navigate to http://localhost:5001

Demo

demo.mov

A live demo is available here and here.


Disclaimer ⚠️

Under the hood, exec() is used to execute Python code.