🌐
The Hitchhiker's Guide to Python
docs.python-guide.org › scenarios › web
Web Applications & Frameworks — The Hitchhiker's Guide to Python
Flask is a “microframework” for Python, and is an excellent choice for building smaller applications, APIs, and web services. Building an app with Flask is a lot like writing standard Python modules, except some functions have routes attached to them. It’s really beautiful. Rather than aiming to provide everything you could possibly need, Flask implements the most commonly-used core components of a web application framework, like URL routing, request and response objects, and templates.
🌐
Reddit
reddit.com › r/learnpython › can we make a web app just with python?
r/learnpython on Reddit: Can we make a web app just with python?
May 28, 2022 -

Can we make a website with just HTML and python?

If so, how?

EDIT: Thank you everyone for replying, this is what I learnt from this post:

I can handle the backend with python(with django or flask), but to make a good looking frontend, I would have to use css and javascript, thank you.

Discussions

Python web application - Stack Overflow
Now a days it is better to use PhusionPassenger Standalone or with NGINX using same technique as PHP by proxy passing it to FastCGI in case of PHP and WSGI for Python. The URL and all explanation for Passenger can be found: Here · All information about Python running on NGINX over FastCGI, uWSGI or Passenger · About frameworks that wrap Python for easier Web development I do recommend Django if it is a larger application ... More on stackoverflow.com
🌐 stackoverflow.com
Creating a web application using Python
Very basic application can be Python server using templates. For example Flask server with templates for the pages. You can follow tutorial like this https://flask.palletsprojects.com/en/stable/tutorial/ More on reddit.com
🌐 r/Python
40
0
August 17, 2025
Using python to develop web application - Stack Overflow
I have been doing some work in python, but that was all for stand alone applications. I'm curious to know whether any offshoot of python supports web development? Would some one also suggest a good More on stackoverflow.com
🌐 stackoverflow.com
How to build the front end of a web app if you only know python?
I’ve been using niceGUI with good success: https://nicegui.io More on reddit.com
🌐 r/Python
55
57
August 23, 2023
🌐
Real Python
realpython.com › python-web-applications
Python Web Applications: Deploy Your Script as a Flask App – Real Python
March 12, 2023 - In this tutorial, you’ll learn how to go from a local Python script to a fully deployed Flask web application that you can share with the world. ... In addition to walking through an example project, you’ll find a number of exercises throughout the tutorial. They’ll give you a chance to solidify what you’re learning through extra practice. You can also download the source code that you’ll use ...
🌐
Medium
medium.com › @dattu1993 › creating-a-web-application-with-python-a-comprehensive-guide-for-beginners-db59df5867e4
Creating a Web Application with Python: A Comprehensive Guide for Beginners | by Venkata Tumuluri | Medium
March 3, 2024 - Activate your virtual environment ... installed, let’s create a simple web application. Create a new Python file, such as `app.py`, and open it in your favorite text editor....
🌐
Microsoft Learn
learn.microsoft.com › en-us › visualstudio › ide › quickstart-python
Create a Python Web App with Visual Studio | Microsoft Learn
Learn how to use Visual Studio and the Flask framework to build a web application in Python, add a code file, and run the app.
🌐
Codecademy
codecademy.com › learn › paths › build-python-web-apps-flask
Build Python Web Apps with Flask | Codecademy
In this path, you will learn how to code in Python, design and access databases, create interactive web applications with Flask, and share your apps with the world. ... Learn the basics of Python, one of the world’s most popular and powerful programming languages.
Find elsewhere
🌐
BrowserStack
browserstack.com › home › guide › ultimate guide to web development in python
Python Web Development Tutorial | BrowserStack
April 29, 2025 - Web development is the process of building websites and web applications for the Internet. It includes two core components: Front-end development: Focuses on the visual and interactive parts users engage with using HTML, CSS, and JavaScript.
🌐
GeeksforGeeks
geeksforgeeks.org › python › flask-creating-first-simple-application
Flask - Creating First Simple Application - GeeksforGeeks
January 7, 2026 - In this article, we will learn how to build a basic web application using Flask, which is a lightweight Python framework create and run web apps.
🌐
DigitalOcean
digitalocean.com › community › tutorials › how-to-make-a-web-application-using-flask-in-python-3
Build a Flask Python Web App from Scratch | DigitalOcean
November 6, 2025 - Learn how to build a Flask web application from the ground up using Python, covering routes, templates, forms, and deployment.
🌐
Streamlit
streamlit.io
Streamlit • A faster way to build and share data apps
Turn your data scripts into shareable web apps in minutes. All in pure Python.
🌐
Netguru
netguru.com › home page › blog › 8 top python web app examples from top-notch companies
8 Top Python Web App Examples From Top-Notch Companies
July 25, 2025 - Web applications are often targets for security threats like SQL injection and cross-site scripting (XSS). Python's Django framework offers built-in security features to protect against these vulnerabilities. For example, Django automatically escapes user input to prevent malicious code execution and includes an ORM (Object-Relational Mapping) system that avoids direct SQL queries, reducing the risk of SQL injection attacks.
🌐
Reflex
reflex.dev
Reflex · The platform to build and scale enterprise apps
Generate Your App With AIDescribe your idea, and let AI transform it into a complete, production-ready Python web application. ... Iterate In Python With ReflexBuild and refine your app using pure Python—fast, flexible, scalable, and open source. ... Deploy, Host, and ScaleDeploy through Databricks, Snowflake, self-host on AWS, GCP, Azure, or use Reflex Cloud.
🌐
Quora
quora.com › What-is-the-fastest-way-to-build-a-web-application-with-Python
What is the fastest way to build a web application with Python? - Quora
So, yes, it’s possible to build a web app using nothing but Python for the server-side programming. But there are mature frameworks like Django that make it easier to do. Many web apps need JavaScript on the browser side, so a web developer needs to know JavaScript and use it with AJAX to interact with Python on the server.
🌐
Experionglobal
experionglobal.com › home › python based web application
Python Based Web Application: Ultimate Guide
February 27, 2025 - Startups or independent developers looking to build prototypes or smaller applications can benefit from Flask’s minimalist design. For example, a travel blogger looking to set up a personal website with dynamic content can start with Flask, gradually incorporating features like user comments and interactive maps over time. FastAPI is the sports car of Python web frameworks; -fast, efficient, and optimized for speed.
Top answer
1 of 9
21

Now that everyone has said Django, I can add my two cents: I would argue that you might learn more by looking at the different components first, before using Django. For web development with Python, you often want 3 components:

  1. Something that takes care of the HTTP stuff (e.g. CherryPy)

  2. A templating language to create your web pages. Mako is very pythonic and works with Cherrpy.

  3. If you get your data from a database, an ORM comes in handy. SQLAlchemy would be an example.

All the links above have good tutorials. For many real-world use-cases, Django will be a better solution than such a stack as it seamlessly integrates this functionality (and more). And if you need a CMS, Django is your best bet short of Zope. Nevertheless, to get a good grasp of what's going on, a stack of loosely coupled programs might be better. Django hides a lot of the details.

2 of 9
4

Edited 3 years later: Don't use mod_python, use mod_wsgi. Flask and Werkzeug are good frameworks too. Needing to know what's going on is useful, but it isn't a requirement. That would be stupid.

Don't lookup Django until you have a good grasp of what Django is doing on your behalf. for you. Write some basic apps using mod_python and it's request object. I just started learning Python for web-development using mod_python and it has been great.

mod_python also uses a dispatcher in site-packages/mod_python/publisher.py. Have a ganders through this to see how requests can be handled in a simple-ish way.

You may need to add a bit of config to your Apache config file to get mod_python up and running but the mod_python site explains it well.

Copy<Directory /path/to/python/files>
     AddHandler mod_python .py
     PythonHandler mod_python.publisher
     PythonDebug On
</Directory>

And you are away!

use (as a stupidly basic example):

Copydef foo(req):
    req.write("Hello World")

in /path/to/python/files/bar.py assuming /path/to is your site root.

And then you can do

Copyhttp://www.mysite.com/python/files/bar/foo

to see "Hello World". Also, something that tripped me up is the dispatcher uses a lame method to work out the content-type, so to force HTML use:

Copyreq.content_type = 'text/html'

Good Luck

After you have a good idea of how Python interacts with mod_python and Apache, then use a framework that does all the boring stuff for you. Up to you though, just my recommendation

🌐
GitHub
github.com › topics › python-web-application
python-web-application · GitHub Topics · GitHub
pandas-dataframe data-visualization matplotlib flask-framework restful-api python-web-application interactive-web-design ... A Simple App built with Python and Flet. 🐍💻 Easy to use and customize.
🌐
Reddit
reddit.com › r/python › how to build the front end of a web app if you only know python?
r/Python on Reddit: How to build the front end of a web app if you only know python?
August 23, 2023 -

Suppose you want to create a web app that contains a dashboard with analytics that will serve thousands of users. It needs also user authentication, subscription models, payment and everything needed for SaaS service. You have just one month for the MVP.

You code in python so it’s easy to build the backend. But if you’re alone, what would you choose as front end?

Here’s a few options that I thought:

  • Use a Python template with Flask/Django (Soft UI dashboard)

  • Use streamlit framework

  • Learn a JavaScript framework (Next.js, React ?)

  • No-code tools (Bubble, Webflow)

Anything else? What would you choose?

🌐
WEDOWEBAPPS
wedowebapps.com › home › blog › web application with python: a step-by-step approach
Web Application with Python: A Step-by-Step Approach
January 30, 2026 - Create your web application with Python using Flask. This guide covers setup, database, routing, forms, and deployment for smooth project execution.
Price   $$
Address   21 Charles St, 07013, Clifton
(4.8)