--- title: PyConsole emoji: 🐍 colorFrom: green colorTo: green sdk: docker app_file: main.py pinned: false --- # PyConsole Turn browser into a console for Python using [FastHTML](https://github.com/answerdotai/fasthtml) (in 34 lines). # Usage ```shell pip install python-fasthtml git clone https://github.com/iamaziz/fh_pyconsole.git cd fh_pyconsole ``` ```python python app.py ``` Open browser and navigate to `http://localhost:5001` # Demo > ` add screenshare video recording`
## Disclaimer ⚠️ > Under the hood, `exec()` is used to execute Python code. ## Deployment to HF Space - Using [fasthtml-hf](https://github.com/AnswerDotAI/fasthtml-hf?tab=readme-ov-file#quickstart)