Can't run python code in VSCode.dev #17912
|
Then i install python extension but i can't run python code. |
Answered by
brettcannon
Nov 3, 2021
Replies: 2 comments 1 reply
|
Yep, this is normal. In order for Python to run in the browser it would need to be either ported to JavaScript or compiled to WebAssembly somehow. You can try https://marketplace.visualstudio.com/items?itemName=joyceerhl.vscode-pyodide which lets you run Jupyter notebooks in the browser via vscode.dev. I am also starting to look at what it would take to get Python in the browser, so there's hope. |
1 reply
Answer selected by
molly-w
|
there is a JS implementation of Python called Skulpt, it's here |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Yep, this is normal. In order for Python to run in the browser it would need to be either ported to JavaScript or compiled to WebAssembly somehow.
You can try https://marketplace.visualstudio.com/items?itemName=joyceerhl.vscode-pyodide which lets you run Jupyter notebooks in the browser via vscode.dev. I am also starting to look at what it would take to get Python in the browser, so there's hope.