Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use Python instead of Javascript in front-end development? [closed]

I am asking this because I don't want to use Javascript; instead I want to use Python as an alternative. If this is not possible, please give an alternative apart from jQuery.

like image 859
AYIBO ROBERTS Avatar asked Jul 30 '26 15:07

AYIBO ROBERTS


2 Answers

There are a couple of projects to bring python to browsers, for example http://brython.info, all are not production-ready.

You can use transpiled languages (your code transformed into JS to be run by a browser). Typescript is one of the options.

In the end web development == Javascript, so you should grit your teeth and just use the right tool for the job. There are many frameworks available to make JS development less painful: vue.js, angular, react, many others...

like image 115
Andrew Morozko Avatar answered Aug 02 '26 06:08

Andrew Morozko


Yes.You can first you need to download XMAPP AND Python3 then open XMAPP -> apache config notepad will be open then find AddHandler. AddHandler-> AddHandler cgi-script.cgi.pl.asp.py -> save it.Then the .py extension created.

like image 22
Tapas Das Avatar answered Aug 02 '26 05:08

Tapas Das



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!