Should I Learn Python Instead of Web Development?

August 28, 2026 4 answers
Asked by MellowRidge42
I'm currently learning web development through The Odin Project and enjoying how beginner-friendly and hands-on it is. A friend told me web development is a waste of time because AI can eventually do all the coding, and suggested I switch to Python instead. I'm not convinced AI can handle everything reliably, but I'm wondering whether continuing with HTML, CSS, and web development is still worthwhile. Should I stick with my current path, learn Python alongside it, or switch directions? I'd also appreciate recommendations for free Python learning resources.

Answers

NorthVale_24
Python is especially popular for areas like data analysis, automation, machine learning, and backend services. Those are useful paths, but theyโ€™re not automatically better than web development. Choose based on what you enjoy building rather than switching because someone predicts AI will replace one field.
Reply to this answer
PixelHarbor_31
Web development is a much broader field than it might seem, and AI isnโ€™t eliminating the need to understand how applications fit together. AI-generated code can be useful, but it still needs to be checked, debugged, integrated, and maintained. Learning the fundamentals is still valuable, especially HTML and CSS.
Reply to this answer
QuietMaple88
Your friend is overstating what AI can do. It can produce a lot of basic code, but it isnโ€™t guaranteed to be correct, secure, or suitable for a larger project. The more complicated the task, the more important it is to understand the code and make good technical decisions.
Reply to this answer
BrightCedar7
Python and web development arenโ€™t mutually exclusive. You can use Python for backend development with tools such as FastAPI, while HTML and CSS teach you how websites actually work. Iโ€™d continue with your current course and add Python later if you become interested or need it for a specific project.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions