3 ms·
Compiling Python to Javascript is always going to be incomplete. (For example, it doesn't make much sense to open() a file from the browser!) However, we run f
by meredydd 9y ago
Compiling Python to Javascript is always going to be incomplete. (For example, it doesn't make much sense to open() a file from the browser!)
However, we run full CPython (2.7 and 3.6) on the server, so any language feature you like is just a function call away :)
- mixmastamyk 9y agoOk, so I can run 3.6 code on the server and return the output? As Py2 is EOL in about two years it feels risky for anything to be built on it.
- meredydd 9y agoThat's exactly what you can do! If you open up a Server Module, you'll see a drop-down in the top-right. That will allow you to select a Python 3.6 runtime. The client-side code is Python 2 only for now, but we're already upgrading our Python-to-Javascript compiler to include Python 3 syntax.
- techdragon 9y agoAre you looking at Transcrypt https://www.transcrypt.org/ https://www.transcrypt.org/ as a replacement for Skulpt at all? Because its here and it already works great for Python 3.6, it just needs more usage to develop workflows and examples around it and tools like Anvil are a great way to get started with any technology.