TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why arent there any courses teaching web development in Python?

3 pointsby deepskyaiover 1 year ago
Before anyone jumps in and says “because front end is built in JS” hear me out:<p>- There are lots of web development frameworks in python: Pyscript, Anvil, Reflex, Atri, JustPy and many, many more<p>- The docs or mini courses for these jump straight into “how to do a web thing that we already know but in Python”<p>- No course out there teaches the basics of the web like fetching, async, dom manipulation with Python not even the PyScript stuff which has a mandate to teach people web.<p>- I had to learn JS before i could understand the courses that teach the basic concepts of the web<p>So HN, why is it this way?

5 comments

fermigierover 1 year ago
&quot;Web development&quot; means many different things to different people.<p>I believe a sensible approach, for some (including me), is:<p>1. Learn back-end web programming (HTTP request&#x2F;response model, templating, sessions, security, the REST architectural model, ORM...) with your framework of choice (Django, Flask, Litestar, Sanic...). There are many tutorials and books around.<p>2. Learn HTMX (<a href="https:&#x2F;&#x2F;htmx.org&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;htmx.org&#x2F;</a>). A fine book is <a href="https:&#x2F;&#x2F;hypermedia.systems&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;hypermedia.systems&#x2F;</a> (it will also teach you the fundamental, framework-agnostic, principles of 1.)
评论 #38215293 未加载
hiccuphippoover 1 year ago
It seems you are only talking about python in the browser. I&#x27;d guess anyone wanting to use python in the browser already knows python and already uses javascript in the browser and wants to get a way to do browser stuff with the language they like. I don&#x27;t think a beginner that doesn&#x27;t know either language would care to go through the hoops to get python working on the browser.
评论 #38215284 未加载
mtmailover 1 year ago
Sounds like you found an underserved market opportunity.
评论 #38184705 未加载
wtbdtloopsodyover 1 year ago
industry AND community standards and there&#x27;s tons of web dev stuff you&#x27;d need to tinker together yourself in PyXYZ that is already available in huge variety in JS.<p>there&#x27;s just no need and no advantage of Python in Web Dev except maybe fun and the love for &quot;quick and dirty&quot; ...<p>but if you keep adding and building, they will come ;]
评论 #38184743 未加载
rbanffyover 1 year ago
&gt; dom manipulation with Python not even the PyScript stuff which has a mandate to teach people web<p>I am not sure what you mean here. There’s not really much space for Python in the browser. When you mean using Python to scrape web pages, there are specific courses. The HTML web frameworks output usually has very little, if any, front-end code in tutorial in order to make the example simple, because the goal is to teach rather than provide real-world examples.
评论 #38176374 未加载