How Python is used as a back-end in web dev ?
Good morning ducks, As we know, Python is a back end programming language, but how we merge HTML/CSS/JS and Python to make a website ? by Python front end modules ? or frameworks or what ?
by sending text (html) response on server side to client (http) requests. usually, templates are used, where you could "merge" python code with html stuff, but all the python is interpreted at server side, and client only receive html (without any python code)...
There are more than two web frameworks for python... there are a lot available: https://wiki.python.org/moin/WebFrameworks
visph i tough you need css and js too?
yes, when I said html, i thought "html bundle" (wich implies css and/or js if needed, as well as pictures, svg, or any other linked files)
Oh okay. Thanks for the answer!
visph Didin’t understand you, is there a video that explains that please ?
visph But in which server ? it operates on cloud or database or what
Any server: it could be your own PC, your phone or obviously cloud... database is another question ^^
Class and instance attributes
How does this works?
Button after Button
FYP PROJECT IDEAS
FILL in the blanks to assign the value 15 to variable years and output the number of months(years multiplied by 12)