Not exactly - ChatGPT has two ways it can run Python code. It can use Pyodide and run it directly in the user's browser (for Canvas), and it can also run Python code on one of their servers in a Jupyter environment in a locked-down Kubernetes container (their "Code Interpreter" tool).
To my knowledge they don't yet have a run-Python-in-WASM-on-the-server implementation.
Re:MCP Run Python
by jamestimmins on Thursday April 17, 2025 @01:46PM
(#43720046)
What’s the purpose of Jupyter here? Isn’t that optimized for notebooks, which presumably wouldn’t be relevant on the server?
I think it's more about tapping into the Jupyter ecosystem of visualization libraries etc, plus the fact that there's lots of data analyst examples in the training data that come from notebooks.
Re:MCP Run Python
by jamestimmins on Thursday April 17, 2025 @05:18PM
(#43722315)
That's an interesting dynamic of the training data impacting the architecture. I wonder if this is a one-off or we see that in other areas as well.
I think this is inevitable. Whatever is most highly represented (correctly) will become even more dominant.
Re:MCP Run Python
by __mharrison__ on Thursday April 17, 2025 @05:33PM
(#43722467)
So that's why it writes such bad pandas code...
https://simonwillison.net/2024/Dec/10/chatgpt-canvas/