Skip to content

Support for Python? #176

Answered by d3lm
miso-belica asked this question in Q&A
Discussion options

You must be logged in to vote

Hey 👋

If you mean whether or not you can use Python in your tutorial then the short answer is no, not currently. That's not supported by TutorialKit at the moment nor PHP.

The longer answer

WebContainer has experimental support for Python. Generally it's important to point out that WebContainer cannot run arbitrary binaries / native code. This means that the Python support in WebContainer is limited to a pure/vanilla Python which means you can't use pip to install packages. You can use packages if it's pure Python packages and don't rely on native code. Any native code has to be compiled to Wasm/WASI to work in WebContainer since it can't run binaries and also doesn't emulate say x86 at t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by miso-belica
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants