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?
Where is excellent Python code?
1–10 of 10 posts
Re: Where is excellent Python code?
#2I guess built-in libraries may be a good start.
Re: Where is excellent Python code?
#3What about BeautifulSoup? It stands out to me as extremely usable and friendly. Any comments on how it looks under the hood?
Re: Where is excellent Python code?
#4Python Standard Library is well written, if you want to have a look at it.(Decimal is easy and full of programming examples).
And:
Re: Where is excellent Python code?
#5Thank you both!
Re: Where is excellent Python code?
#6Django[1] source is lovely, and they're pretty rigid about PEP rules, so it's a stellar example.
Flask[2] source code is also lovely.
Re: Where is excellent Python code?
#7Requests: HTTP for Humans
Lovely code and good documentation
https://github.com/kennethreitz/requests
Also checkout the Hitchhiker's Guide to Python
Re: Where is excellent Python code?
#8Doug hellmann's awesome Python Module of the Week series
(http://www.doughellmann.com/PyMOTW/)
Re: Where is excellent Python code?
#9Re: Where is excellent Python code?
#10What about BeautifulSoup? It stands out to me as extremely usable and friendly. Any comments on how it looks under the hood?
Not a comment about under the hood, but, BeautifulSoup's use of CamelCase in module names and the fact that it's a parser for the ugliest shit out there (HTML) makes me believe the code is more soup than beautiful.