RustPython Demo

RustPython is a Python interpreter written in Rust. This demo is compiled from Rust to WebAssembly so it runs in the browser.
Input your Python code below and click Run (or Ctrl+Enter), or you can open up your browser's devtools and play with rp.pyEval('1 + 1')

Standard Output

Interactive shell

Here's some info regarding the rp.pyEval(), rp.pyExec(), and rp.pyExecSingle() functions

Limited Interaction with browser is possible from Python by using the browser module. Browser APIs such as alert(), confirm(), prompt() and fetch() are included in the module.

Fork me on GitHub pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy