أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
Python is a server side scripting language, if the site is static you wont really need it , if your site is dynamic, you will need a programming language that runs on server side, python is a poerfil one, aside from PHP ruby on rails and other programming languages.
In a HTML/CSS website the purpose of Python is to handle Back-end, For example intracting with any underlying Database
Python can be used as a backend language for web servers.What this means is that when your browser sends a web server a request for a webpage, the server can use a backend language to interpret the requests and process the data inside the requests.The difference between HTML/CSS and Python is that HTML and CSS are frontend languages, while Python is a backend language. There are many others as well, such as PHP, Ruby, JavaScript, etc.
Python is a server side programming language so you would use it to fetch or update data on your server or you can use it to process some data then return the result. In other words it makes your website dynamic unlike HTML (semantics) which is static and CSS (design), Python allows you to show different and personalized information to your users
There is no relation between these Python is back-end programming language where HTML / CSS used on Front-end for Markup and styling webpages