Can Python be used for client side web development?

If so, are any frameworks / Tutorials / tips / etc recommended?

N00b in Python, but I have a lot of experience with PHP and I want to expand my skill set.

I know that Python works great on the server side, I just wanted to know about the client side.

+50
python client-side
Oct 08 '09 at 20:27
source share
9 answers

Have you seen the sculpture?

http://www.skulpt.org/

+41
Oct 08 '09 at 20:31
source share

You can use pajamas to convert Python code to JS code that works in a browser (note that pajamas also offer much more). So yes, you can use Python for client side web development.

Pajamas are basically the Google Web Toolkit port, which allows you to write client-side code in Java.

+16
Oct 08 '09 at 20:40
source share

Silverlight can run IronPython, so you can create Silverlight applications. This is the client side.

+9
Oct 08 '09 at 20:50
source share

Python is not actually used for the client side, because none of the major web browsers have built-in Python.

However, Javascript is becoming more and more similar to Python as it evolved. You might want to learn Python and Javascript together.

Take a look https://developer.mozilla.org/en/New_in_JavaScript_1.7 and note the python-like nature of the new features. "Array accounting" is like understanding Python lists; Iterators and generators directly from Python "destructuring assignments" is the standard Python idiom.

Javascript is like Python with curly braces. It uses a very different inheritance model, but libraries are available that implement a more Python-like class system on top of the embedded system in Javascript.

+7
Oct 08 '09 at 20:30
source share

No one has mentioned this yet, but grail was / was pretty cool

Grail was a free, extensible, multi-platform web browser written in the Python programming language. The project was launched in August 1995 with its first public release in November of that year. [1] .3 beta contained over 27,000 lines of Python. [1] Its latest release was version 0.6 in 1999, with the development of the latest version.

+4
Oct 08 '09 at 21:07
source share

No. Browsers do not run Python.

+3
Oct 08 '09 at 20:30
source share

Look at this:

http://www.trypython.org/

This is an interactive python console + tutorial written using Silverlight + IronPython.

+3
Oct 08 '09 at 21:06
source share

On Windows, any language that is registered for the Windows Scripting Host can work in IE. At least the Python version for ActiveState can do this; I seem to remember that these days it has been replaced by a more official version.

But this solution requires the user to install the python interpreter and run some script or .reg file to put the correct β€œmagic” in the registry for hooks to work.

+3
Sep 15 2018-11-21T00:
source share

Python is available to the client: skulpt

If your client side might interest you,

http://jqueryui.com/

0
Oct 08 '09 at 20:30
source share



All Articles