<br><div class="gmail_quote">On Wed, Jun 15, 2011 at 5:11 AM, <a href="mailto:bruno.desthuilliers@gmail.com">bruno.desthuilliers@gmail.com</a> <span dir="ltr"><<a href="mailto:bruno.desthuilliers@gmail.com">bruno.desthuilliers@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Jun 15, 9:50 am, sidRo <<a href="mailto:slacky2...@gmail.com">slacky2...@gmail.com</a>> wrote:<br>

> Is Python only for server side?<br>
<br>
</div>Is it a theoretical question or a practical one ?-)<br>
<br>
More seriously: except for the old proof-of-concept Grail browser, no<br>
known browser uses Python as a client-side scripting language.<br>
<br></blockquote><div>There are three relevant projects:<br><br>1) Pyjamas - translates a dialect of Python 2.x to Javascript, and provides a widget set that allows the same code to provide a web GUI and a desktop GUI, using a desktop-like API<br>
<br>2) Emscripten - which is CPython 2.x itself (and theoretically, 3.x?) compiled into Javascript using LLVM's C frontend and an LLVM bitcode translator that creates Javascript code<br><br>3) Pypy - had a Javascript backend, but that was removed from the website in 2010 (?)<br>
<br>Of these, Pyjamas is probably the most useful today.  Emscripten reportedly crashes some browsers, and Pypy seems to have lost interest in Javascript.<br><br></div></div>