Member-only story

ChatGPT Canvas Can Execute Python In Browser Now. Who’s It Really For?

Eduard Ruzga
6 min readDec 11, 2024

--

Table comparing what ChatGPT Canvas Python, ChatGPT Code Interpreter and Clade Artifacts can and can’t do

On Day 4 of OpenAI’s 12 Days of Shipping, the spotlight fell on an updates to ChatGPT Canvas:

Do not have Medium Account? Continue Reading Here!

What Was Announced:

  1. Canvas Now Available for Everyone: Previously in beta for Plus users, ChatGPT Canvas is now accessible to all users.
  2. Python Execution in the Browser: Canvas can now highlight, autocomplete, and execute Python code directly in the browser(0_o).
  3. Integration with Custom GPTs: You can now integrate Canvas into Custom GPTs, expanding its use cases and accessibility.

Read The Post Or Watch The Video

If you prefer listening and watching live demos, checkout the video belowm otherwise continue in form of a blogpost

Most interesting feature is Python execution. But how does it work?

Let’s just ask ChatGPT itself! Check screenshot below and here is resulting chat.

Screenshot of ChatGPT Writing Python that logs details of environment it runs in

From this response, we learned that the Python environment is powered by Pyodide, a WebAssembly-based Python runtime. The following details stand out:

  • Python Version: 3.12.1, showcasing a modern Python environment.
  • Platform: Emscripten, enabling browser-based execution via WebAssembly.
  • Architecture: A 32-bit wasm32 environment, which aligns with the lightweight and sandboxed nature of…

--

--

Eduard Ruzga
Eduard Ruzga

Written by Eduard Ruzga

We make our world significant by the courage of our questions and by the depth of our answers — Carl Sagan

No responses yet

Write a response