Is it possible to create a webpage solely using Python?
It's a bit of a weird question, but I am really curious, tho (°~°)
Hello We cannot create by only Python it just a connective code for the storage purposes from database and to ur parricular website.. U pls see this link u may clear https://www.quora.com/How-do-you-use-Python-to-make-websites
Technically no... Web pages contents would be descripted using html language
To build a website with Python, you simply create an empty file, put the following code inside it, name it with a .py extension and run it. If you visit localhost:5000 you will see the website. Yes, it's just a page with plain text, but it is still a website. Python can be used to build server-side web applications. While a web framework is not required to build web apps, it's rare that developers would not use existing open source libraries to speed up their progress in getting their application working. Python is not used in a web browser
Web development can be done with python.For this you can learn Django framework or flask framework of python.
I think no, you can program the backend part, but browsers can't run python as a frontend code
Of cources, you can but not enough For example (Flask): from flask import Flask app = Flask(__name__) @app.route('/') def index(): ....return "<h2>Hello World</h2>" if __name__ == '__main__': ....app.run(host='0.0.0.0', port=5000, debug=True)
50/50, better to use HTML
yes sure !
technically, it is not possible to create any webpage without using HTML. HTML is must necessary to create any web page. you can create a python program and add it into your HTML page.
Yes if you use python to write the HTML required
At end a website is constituited by html code (mainly) because browsers understand only it (beside css and js). Then, if your question is "Can i use only the python language for build a web page?", the answer is not because you have to put html code inside python... Instead if your answer is "Can i integrate python for build a web page?" the answer is yes, but remember that browsers CANNOT understand python language... You can use it for make a web server but this is possible virtually with any language
No. Haha, no. Because as others here said, python is able to *script* the services for clients to receive/servers to serve, and python is great for scripting this together, but the language spoken by the Clients and Servers in web applications is not python, its HTTP, then above that its HTML and CSS and JS. Python can help script the actions of every element in your web application, in the same way as most other languages can, but its just like saying you can run a multinational company with an english speaking CEO.
Yes ,definitely ! But not more complex
help my code does not iterate
What is the problem 🤨🧐??
Generador de divicion python.