Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Python be used for client side web development? [closed]

If yes are there any frameworks/Tutorials/tips/etc recommended?

N00b at Python but I have tons of PHP experience and wanted to expand my skill set.

I know Python is great at server side execution, just wanted to know about client side as well.

like image 963
Phill Pafford Avatar asked Oct 08 '09 20:10

Phill Pafford


People also ask

Can Python be used for web client and web server-side programming?

Python can be used to build server-side web applications. While a web framework is not required to build web apps, it's rare that developers would not use existing open source libraries to speed up their progress in getting their application working. Python is not used in a web browser.

Can we use Python for front-end web development?

The simple answer is yes: Python can be used for either front-end or back-end development. That said, it's approachable syntax and widespread server-side use makes Python a core programming language for back-end development.

Is Python client or server-side?

Server-side code can be written in any number of programming languages — examples of popular server-side web languages include PHP, Python, Ruby, C#, and JavaScript (NodeJS).

Why Python is not good for web development?

Python is mostly used in desktop and web server-side development. It is not considered ideal for mobile app development and game development due to the consumption of more memory and its slow processing speed while compared to other programming languages.


2 Answers

Have you seen Skulpt?

Skulpt is an entirely in-browser implementation of Python.

No preprocessing, plugins or server-side support required, just write Python and reload.

like image 99
easement Avatar answered Oct 04 '22 00:10

easement


You can use pyjamas to convert Python code to JS code that runs in the browser (note that pyjamas also offers much more). So YES, you can use Python for client side web development.

Pyjamas is basically a port of the Google Web Toolkit, which allows you to write client side code in Java.

like image 30
nikow Avatar answered Oct 04 '22 02:10

nikow