问题描述
我很高兴看到现在可以在浏览器中编写Python代码了.这些是主要候选人(请加上我可能忽略的任何地方):
I'm very excited to see that it is now possible to code Python in the browser. These are the main candidates (please add any I may have overlooked):
- Brython
- Skulpt
- PyPy.js
- Transcrypt
- Pyodide
但是如何在它们之间进行选择?我能看到的唯一明显区别是Skulpt基于Python 2,而Brython基于Python 3.
But how to choose between them? The only obvious difference I can see is that Skulpt is based on Python 2, whereas Brython is based on Python 3.
请注意:这不是要求提供建议或意见.我正在寻找客观的事实,以提供有根据的选择.
推荐答案
在浏览器中运行Python 是一篇非常不错且最新的文章(截至2019年),它比较了Brython,Skulpt,PyPy.js,Transcrypt,Pyodide和Batavia.我强烈建议您阅读.
Running Python in the Browser is a really good and up-to-date(as of 2019) article that compares Brython, Skulpt, PyPy.js, Transcrypt, Pyodide, Batavia. I highly recommend reading it.
在下面的图片中可以看到很好的总结.
A good summary can be seen in the following pictures.
这篇关于浏览器中的Python:如何在Brython,PyPy.js,Skulpt和Transcrypt之间进行选择?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!