API: Python (pure) (mini) (r1)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Python (pure) (mini) (r1) No None No 14 Worlds Starter Worlds


This API supports Python in the browser. The World is pure Python (no JavaScript).

PyScript with the fast compiler:

This API works as follows:

Python 'print' and console.log are redefined:

For help on how to use Python in the Pyscript environment, see:

This API has further features:

Screenshots:

The underlying file type is .js:



Templates


Examples

Examples of Worlds that use this API:


Pure Python (min...
31 runs ♦ 0 likes
By Starter user  
Created: 6 Oct 2025
Modified: 15 Oct 2025
Code is Python only (no JS). Uses the fast PyScript compiler. Python 'print' outputs to page.