API: Python (COI) (full) (r1)

API Uses canvas Graphics libraries AB framework Worlds using this API Starter Worlds
Python (COI) (full) (r1) No None No 22 Worlds Starter Worlds


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

PyScript with full compiler and Terminal:

Cross-origin isolation (COI):

This API works as follows:

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:


Python file read...
6 runs ♦ 0 likes
By Starter user  
Created: 16 Aug 2026
Modified: 16 Aug 2026
Python-only solution to read file from server