0% found this document useful (0 votes)
5 views

python

Browsers understand web content through standardized formats like HTML, which is a markup language, not a programming language. Python, while not directly understood by browsers, is widely used in web development through various frameworks such as Django, Flask, and FastAPI. These frameworks facilitate efficient web application development by providing tools and libraries tailored for different project needs.

Uploaded by

Pavani Nayudu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

python

Browsers understand web content through standardized formats like HTML, which is a markup language, not a programming language. Python, while not directly understood by browsers, is widely used in web development through various frameworks such as Django, Flask, and FastAPI. These frameworks facilitate efficient web application development by providing tools and libraries tailored for different project needs.

Uploaded by

Pavani Nayudu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Why python language cannot understand by browser

Browsers are designed to understand Web in a standardized format also known as


SGML(Standard Generalized Markup Language).
The HTML being the most used for SGML.

Please note that HTML is not a programming language, it's simply a Markup language
that gives information how to present the contents of the page in front of the user and
hence it was essential to have an universal markup format or SGML which is HTML.
This is the reason why some pages doesn't open suitably in Internet Explorer, because
Internet Explorer is not at per with other most used browsers regarding formatting of
webpages.
But python is used in framework applications of web development
Python is a powerful and versatile programming language widely used in web
development. It provides a wide range of frameworks, tools, and libraries that make web
development efficient and enjoyable. Here's a breakdown of how Python is applied in
web development:
Python has several frameworks for web development, divided into full-stack
frameworks and microframeworks:
Full-Stack Frameworks:
• Django: A high-level framework that emphasizes rapid development and clean,
pragmatic design. It includes everything you need to build robust web
applications, such as ORM (Object-Relational Mapping), authentication, and
admin interfaces.
• Web2py: A scalable and secure framework that focuses on simplicity and speed
of development. It comes with its own web-based IDE.
Microframeworks:
• Flask: A lightweight and flexible framework ideal for small to medium
applications. It gives developers more control and customization.
• FastAPI: Known for its speed and built-in support for async programming, it's
excellent for APIs and modern web apps.
• Bottle: A simple and lightweight framework that's perfect for small applications.

You might also like