skip to Main Content

I want to learn front-end web development so can I replace javascript with python language

I want a detailed description about this topic that how we can use python language in front-end development in the place of javascript

2

Answers


  1. Python is an interpreted language that gets compiled into byte code and then machine code, so no. There are modern web frameworks that are based in python such as Flask, but any event handlers or functions that interface with the user and browser on the front end would have to be written in javascript or typescript.
    https://flask.palletsprojects.com/en/2.3.x/

    Login or Signup to reply.
  2. JavaScript is the most popular language for front-end development. Frameworks like React JS, Angular, etc can help make your UI look crisp and highly responsive. Python can also be used but does not meet the level of JavaScript.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search