+ 16
Is it possible to create a webpage solely using Python?
It's a bit of a weird question, but I am really curious, tho (°~°)
18 Respuestas
+ 2
Python is an easy, flexible and powerful general purpose programming language (which is specially suited for web development), but you should bear in mind that in order to become a web developer you must learn several different skills besides python.
The first basic skill you must learn is HTML.
HTML is the markup language of the web. All web pages are created with HTML, which defines the different elements contained in a web page.
Then you should learn CSS, which is another little language that defines the way each HTML element looks within a page (its color, the font type, its position on the page, etc).
And the third skill you should master to become a complete web developer is javascript.
Javascript is a scripting language, just as python, but it runs within the browser.
It is a fundamental part of HTML5 (the newest incarnation of the HTML , which powers all the new applications being written for the web and mobile phones and tablets (iphone, ipad, blackberry, etc...).
HTML + CSS + JAVASCRIPT are different parts of the whole HTML5 platform, and they all work in tandem to create a full web application.
https://crbtech.in/programmes/java-training-programme
+ 29
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
+ 22
You can create all the backend with python. For the front end, a browser can only interpret html and javascript, so either you create pages natively in those languages, or you have to create python code that "writes" the html and javascript code that will be sent to the client browser.
(or use python libraries that would do that for you)
+ 15
Technically no... Web pages contents would be descripted using html language
+ 12
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
+ 7
Web development can be done with python.For this you can learn Django framework or flask framework of python.
+ 6
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)
+ 4
50/50, better to use HTML
+ 4
yes sure !
+ 4
Check those frameworks:
https://www.djangoproject.com/
http://flask.pocoo.org/
+ 3
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.
+ 2
Yes if you use python to write the HTML required
+ 2
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
+ 2
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.
+ 1
Yes ,definitely ! But not more complex
0
hello