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)
4 ответов
+ 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.
+ 2
Django is also very powerful and well documented, it is designed for larger websites, while Flask is designed for small websites.
+ 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.