Can you use Python for both front end and back end using Django framework?

Beginner Programmer picture Beginner Programmer · Sep 2, 2017 · Viewed 14k times · Source

I'm watching the udemy Django tutorial that requires using JavaScript as the front-end and Python for the back-end:

  • Can you replace JavaScript with Python?

  • What are the advantages and disadvantages of that?

Answer

Astik Anand picture Astik Anand · Sep 2, 2017

No, python can't be used in frontend.

You need frontend technologies like html, css, javascript, jQuery etc... for frontend.

Python can be used as scripting language in backend.