Is it possible to use Python instead of JavaScript for frontend programming? How? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 17

Is it possible to use Python instead of JavaScript for frontend programming? How?

I want to know if I can use Python instead of JavaScript for frontend programming? If it is possible to do this how to?

18th Jun 2019, 7:49 AM
1234554
10 Answers
+ 18
When you talk about frontend, basically you are limited by the tools present on the user's computer, which is the web browser. Browsers can only execute JavaScript code. However there are ways to run python code in the browser, and that involves a python interpreter written in javascript. Check out Skulpt and Brython http://skulpt.org/ https://brython.info/
18th Jun 2019, 10:51 AM
Tibor Santa
Tibor Santa - avatar
+ 6
Javascript Works on the scene and Python works behind the scene. Totally Different Javascript Is for Front-end And Python is for Back-end.
19th Jun 2019, 6:00 AM
Rishabh Singh
Rishabh Singh - avatar
+ 5
No as it stands JavaScript is the only front end language python can be used for serverside on the web only
18th Jun 2019, 10:39 AM
GeneralZod
GeneralZod - avatar
+ 5
I was wondering if there's really no Python to Javascript transpiler, so I looked it up and there is: www.transcrypt.org
19th Jun 2019, 7:28 AM
BlazingMagpie
BlazingMagpie - avatar
+ 3
Actually Yes but you have to learn the seperately the Subject Web frameworks for python In simple words you can search it on google as client side web programming in python
19th Jun 2019, 7:54 PM
ShriekDj
+ 2
What do you mean exactly by frontend programming, you can write your logic in backend and render response on browser by using django (which is a python module)
18th Jun 2019, 5:21 PM
vishal chillal
vishal chillal - avatar
+ 2
I cant think of any other libraries for frontend dev. In cases like python. But as for js we have alot of them namely; Popular reactjs used by facebook and other SM platforms for frontend dev many more dude, Hope this helped?!
20th Jun 2019, 4:28 AM
E∆SI🇳🇬🤖
E∆SI🇳🇬🤖 - avatar
0
Python can be used as a back end language not for frontend
19th Jun 2019, 10:14 AM
Mamta Gupta
0
Even if exist a python framework to codify codes for front-end (of course converting the python code on the real web page resources), I sincerely recommend you to learn the own front-end tecnologies, it's universal knowledge for web developers (even for back-end developers)
20th Jun 2019, 4:06 AM
Viktor Lenz
Viktor Lenz - avatar
0
no we can't use python as frotend language
21st Jun 2019, 3:55 AM
PRANAV KHANDWAYE
PRANAV KHANDWAYE - avatar