Can I use only Python for a full website? Or combine it with Javascript? Or...? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can I use only Python for a full website? Or combine it with Javascript? Or...?

1. Can I create, using only Python, a full website which should include pages design, menus, buttons, scraping, api, live data, statistics, graphics...? 2. Can I use Javascript for designing the website and stuff(front end) of this project and Python for doing all thing to work (back end)? 3. Or which should be the best option? (I started with Python, I covered the basics, currently I'm going deeper, and this personal project, with all these feature will be my milestone)

26th Oct 2019, 10:34 PM
edward 🇷🇴
edward 🇷🇴 - avatar
3 Answers
+ 2
Yes, you can do all of the above. In fact, python is a server-side language, so knowing html/css/javascript is a must.
26th Oct 2019, 10:38 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 2
Django is also very powerful and well documented, it is designed for larger websites, while Flask is designed for small websites.
27th Oct 2019, 12:47 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 1
There are Python packages, like Flask, that provides easier ways to build a website from Python. But, as Mirielle said, the frontend will end up being HTML and CSS. The Python packages (Jinja, Flask, etc) will provide templates on those languages, and even pythonic functions to modify them.
27th Oct 2019, 12:45 AM
Chum4k3r
Chum4k3r - avatar