Should I Focus on Python or Continue Learning Web Development?

August 29, 2026 3 answers
Asked by MellowCedar47
I recently told a friend that I'm learning web development through The Odin Project, and he joked that I'm wasting my time because AI can already do most web development work. I'm not convinced AI can handle everything reliably, especially as projects become more complex, but I'm wondering whether web development will still be worth learning in the future. He suggested that I switch to Python instead. I'm still a beginner, and I've enjoyed learning HTML and CSS so far. The course has also introduced me to practical tools like running Linux in a virtual machine, which I've found useful. Should I continue with web development, learn Python instead, or study both? I'd also appreciate recommendations for free Python learning resources.

Answers

BrightKite_82
You donโ€™t really have to choose between them. Python is commonly used for backend web development with frameworks such as Flask or FastAPI, while HTML and CSS teach you how the frontend actually works. Iโ€™d continue with your current course and add Python later when you have a reason to use it. Learning the fundamentals is still valuable because AI-generated code can be incorrect, insecure, or difficult to integrate into a larger project.
Reply to this answer
QuietOrbit6
Web development is a much broader field than just writing basic pages. Understanding how browsers, servers, databases, authentication, and deployment fit together gives you a foundation that AI tools canโ€™t replace. HTML and CSS are worth learning even if you eventually focus on Python, since they help you understand how web applications are structured.

MellowCedar47: That makes sense. I was mainly worried that spending time on HTML and CSS would become irrelevant, but I do enjoy learning how they work.

Reply to this answer
CopperVale19
Python is a great language, especially for automation, data work, scripting, and backend development, but it isnโ€™t automatically a better choice than web development. Pick a project youโ€™re interested in and learn the tools needed to build it. For free Python resources, the official Python tutorial, Automate the Boring Stuff with Python, and beginner courses from free educational platforms are good places to start.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions