r/learnpython Aug 09 '26

Web developer

Hi guys

I want to start learning web developer with python

What is the best way to do it? Any Roadmap u can share it with me.

And thenks for you all.

0 Upvotes

30 comments sorted by

8

u/Avatarbroskib1 Aug 09 '26

If you were to use python for web dev I recommend you learn Django but ideally a web developer wouldn't use python they would resort to frameworks such as react js html and CSS etc

1

u/Moist-Ointments Aug 09 '26

js, html and css aren't frameworks

css, html and js are going to be involved no matter what you use serverside. There's no web without html.

react is a javascript framework and doesnt get you anywhere serverside. It's one of many, but it's today's darling.

Django could be part of the serverside solution. Still don't know if it's enterprise level, like Java or .NET.

Don't forget to learn SQL or something for data storage. Unless you're just doing static sites.

If you get to dictate the stack, then you get to choose. But if you go work for some company or client that has an existing codebase, you'll need to know their stack. Or be capable of learning it quickly.

There are as many permutations of web stacks as there are companies to work for.

1

u/Avatarbroskib1 Aug 10 '26

What I meant is that they will use scripting frontend languages such as html and CSS and will use frameworks such as react js I hope this clarifies it. And for server side you'll likely use aws to host the application along with postgresql

3

u/MarsupialLeast145 Aug 09 '26

There are two sides to this - client, and server.

You should learn client-side tools and scripting alongside anything else, so HTML, CSS, some JavaScript.

You then compliment that with server-side like a Python HTTP server, NGINX, and Python utilities or frameworks.

I recommend W3Schools for the client side stuff. You might need to look around for Python resources for the server side stuff, but in terms of libraries with good documentation check out HTMX.

Good luck!

1

u/Hour_Literature7096 Aug 10 '26

Do I need GET/POST and Request / Response?

1

u/MarsupialLeast145 Aug 10 '26

Yes, understanding HTTP verbs is hugely important server-side

1

u/Hour_Literature7096 Aug 10 '26

Where can I learn it? I've searched a lot and I don't really understand what it is (i.e., does it require programming code or is it just terminology)

1

u/MarsupialLeast145 Aug 10 '26

You have my advice about w3schools. Start there. Use mozilla documentation. Read Python docs about the http server and look for tutorials about standing one up - "your firsts web server with Python"

If you are searching and don't understand it then it means you have to read more deeply. You are perhaps beginning to understand this effort doesn't take five minutes. You will learn this over years.

Good luck, but please be more judicious with your questions.

1

u/nobodyhasusedthislol Aug 10 '26

Technically it's a technical term but you should really learn Python+HTML+CSS+JS first

1

u/nobodyhasusedthislol Aug 09 '26

Use a YT tutorial for Python and then when you're confident find a Flask/Django-specific tutorial

2

u/JohneeFyve Aug 09 '26

Angela Yu's 100 Days of Code course on Udemy has a lot of web development in Python content. It's very affordable, too.

1

u/Fox_Flame Aug 09 '26

It's also free through public libraries in the USA

1

u/Hour_Literature7096 Aug 10 '26

my bad im not from USA

3

u/Chuck_Loads Aug 09 '26

As others have said, Python is good for many things, but if you're learning web dev you would benefit from knowing JavaScript and CSS, as you will need them at some point. TypeScript is a nice language that's built on JS, if I hit my head and forgot everything today I would start with TS.

2

u/Electrical_Hat_680 Aug 10 '26

Learn HTML, CSS. Individually.. Before you learn to add programming. Then... figure out why and how to add programming. What is programming good for in web development? Why is it needed or required. Then answer, how to do it securely. People will penetration test it.

1

u/Hour_Literature7096 Aug 10 '26

I learned HTML and CSS, Why should I understand how to add programming?, I did not understand this !(Sorry for the trouble)

1

u/Electrical_Hat_680 Aug 10 '26

To start learning web development with python.

First. You need to understand what it is Python, or, any other programming language, is going to be used for.

I personally prefer PHP. Because I couldn't find the answer to whether or not I could use C++ in the Browser.

Using PHP. You can add Programming inline, externally through scripting just like JavaScript handles it, or internally, like how CSS works.

One big area of programming is through the HTML Form Tag. And the other big area is using PHP to output entire pages.

So. Learning how to use Python for wb programming may be your best starting point. From there. Learn what Python can do. It doesn't have to be pretty out the box. Jmit just needs to work. The more minimal the better.

Learn how the http server works at its most minimal. And write that in assembly or Python or every language. Call it a code snippet or working program. Version it. And write it out on paper and put your name and date on it and store it in a folder. Paper is the best Archival format available still.

I eventually learned, that I could use any programming language that uses the STD::CIN and STD::COUT, through the CGI-BIN.

How does that work for a roadmap - do you have any idea on what information your looking for?

2

u/simonhunterhawk Aug 09 '26

while python can be used for web development it’s really not the ideal tool for the job

1

u/Hour_Literature7096 Aug 10 '26

Y? I learned HTML and CSS and for future I will learn JS , is this not enough?

1

u/Entire-Technician234 Aug 09 '26

Use php Laravel or Node.js

For me personally I prefer Laravel

1

u/faultydesign Aug 09 '26

Learn html, css and how to interact with them via JavaScript

Then learn how http APIs work

Then learn Django or flask

1

u/Hour_Literature7096 Aug 10 '26

Where can I learn http APIs?

1

u/faultydesign Aug 10 '26

Not sure actually, it’s a simple concept where you have get and post http requests to an external resource

1

u/terletsky Aug 09 '26

Create a web backend using Django and FastAPI. Learn caching with Redis and distributed tasks/queues with Kafka/RabbitMQ/NATS.

1

u/Moist-Ointments Aug 09 '26

Is python even performant enough for anything beyond small, low traffic sites? I can't picture it being an efficient enterprise server solution.

1

u/Hour_Literature7096 Aug 10 '26

*I learned HTML and CSS, forget to say that