I wrote a browser one too <a href="http://skulpt.org/" rel="nofollow">http://skulpt.org/</a><p>I'm not sure if it's better to write in real Python or just know that you're using JS with different syntax ala pyscript. Emulating all the bizarre Python attribute access behaviour in JS (e.g. __get__) is quite complex.