Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lixin's Online Python Interpreter

A minimal Python interpreter that runs in the browser using Pyodide, with a terminal-style output panel.

Live Demo

https://davidlxu.github.io/LX_Python_Interpreter/

Screenshot

Lixin's Online Python Interpreter screenshot

Features

  • Run Python code directly in the browser
  • Terminal-style output for print() and errors
  • Built-in toy examples (FizzBuzz, recursion, classes, stdlib, traceback demo)
  • No backend required (static site)

Local Development

Run a local static server:

cd /home/lixin/LX_Python_Env
python3 -m http.server 8000

Open:

http://localhost:8000/index.html

GitHub Pages Deployment

This repo includes a GitHub Actions workflow for GitHub Pages:

  • .github/workflows/deploy-pages.yml
  • .nojekyll

To enable deployment:

  1. Open your GitHub repository settings.
  2. Go to Pages.
  3. Set the source to GitHub Actions.
  4. Push to main.

Tech Stack

  • HTML/CSS/JavaScript
  • Pyodide (Python in WebAssembly)

Notes

  • This is a minimal environment focused on stdout/stderr output.
  • Interactive input() is not implemented yet.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages