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.

Where is excellent Python code?

23 pointsby jmasonherrabout 13 years ago
I'm a self taught programmer looking to see what others consider very good looking code. I want good style, so I'm looking for others to emulate. Are there any packages out there that come to mind? Why?

8 comments

ORioN63about 13 years ago
Python Standard Library is well written, if you want to have a look at it.(Decimal is easy and full of programming examples).<p>And:<p><a href="http://news.ycombinator.com/item?id=327710" rel="nofollow">http://news.ycombinator.com/item?id=327710</a><p><a href="http://news.ycombinator.com/item?id=599994" rel="nofollow">http://news.ycombinator.com/item?id=599994</a>
easonchan42about 13 years ago
Requests: HTTP for Humans<p>Lovely code and good documentation<p><a href="https://github.com/kennethreitz/requests" rel="nofollow">https://github.com/kennethreitz/requests</a><p>Also checkout the Hitchhiker's Guide to Python<p><a href="http://docs.python-guide.org/en/latest/index.html" rel="nofollow">http://docs.python-guide.org/en/latest/index.html</a>
easonchan42about 13 years ago
Doug hellmann's awesome Python Module of the Week series (<a href="http://www.doughellmann.com/PyMOTW/" rel="nofollow">http://www.doughellmann.com/PyMOTW/</a>)
bmeltonabout 13 years ago
Django[1] source is lovely, and they're pretty rigid about PEP rules, so it's a stellar example.<p>Flask[2] source code is also lovely.<p>[1] - <a href="https://github.com/django/django" rel="nofollow">https://github.com/django/django</a><p>[2] - <a href="https://github.com/mitsuhiko/flask" rel="nofollow">https://github.com/mitsuhiko/flask</a>
jmasonherrabout 13 years ago
What about BeautifulSoup? It stands out to me as extremely usable and friendly. Any comments on how it looks under the hood?
评论 #3825793 未加载
kracekumarabout 13 years ago
<a href="https://github.com/mitsuhiko/flask" rel="nofollow">https://github.com/mitsuhiko/flask</a>
plwabout 13 years ago
I guess built-in libraries may be a good start.
jmasonherrabout 13 years ago
Thank you both!