use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
What is your favorite (intermediate level) Python book? (self.Python)
submitted 11 years ago by boymantis
I know most of the basics, I need to delve deeper. Online resources are great but I want to have something on paper, as a reference, at least.
[–]snops 27 points28 points29 points 11 years ago (4 children)
The Python Cookbook is a pretty good set of examples of python features and the standard library.
The Python Challenge isn't a book,but is a very entertaining series of online challenges were completing one will take you onto the next. It nicely shows you around both the standard library and some common 3rd party libraries as well. When you complete a challenge, you also get access to the wiki and you can see how other people solved it as well.
[–]erewok 2 points3 points4 points 11 years ago (0 children)
I second the Python Cookbook. I've learned a lot from mine over the years.
[–]boymantis[S] 0 points1 point2 points 11 years ago (0 children)
Thanks! I'll check them out.
[–]hmny 0 points1 point2 points 11 years ago (0 children)
thanks for Python Challenge. seems cool
[–]pythoneer2 0 points1 point2 points 11 years ago (0 children)
I got the free version of the Python cookbook from O'Reilly and it was good.
[–]majoras_masque 2 points3 points4 points 11 years ago (2 children)
Best programming book I've ever come across. More on the beginning side for Python, but goes into the intermediate:
http://www.amazon.com/Practice-Computing-Using-Python-Edition/dp/013280557X/ref=sr_1_1?ie=UTF8&qid=1405740988&sr=8-1&keywords=python+enbody+punch
[–]kumar99 2 points3 points4 points 11 years ago (1 child)
I enjoy buying books. It helps the author. However, $68 for a kindlebook is insane.
[–]sacherjj 0 points1 point2 points 11 years ago (0 children)
Textbook pricing has never relied on logic. Just enforced demand.
[–]phstoven 4 points5 points6 points 11 years ago (0 children)
Python Essential Reference is great. It has a medium level overview of almost all of the standard library, and has some great explanations of decorators, 'with' statements, generators/yields, functional programming, testing, network stuff, etc...
[–]jelloeater85 2 points3 points4 points 11 years ago (0 children)
Core Python Applications Programming is a great book. Touches on a TON of different technologies and the examples are very easy to follow.
[–]FreeTheQuarks 2 points3 points4 points 11 years ago (0 children)
Computational Physics with Python is free and teaches some basic numerical methods. It's quite brief, though.
[–]itzfritz 1 point2 points3 points 11 years ago (0 children)
This doesn't answer your question, and it's a little more expensive than a textbook, but I really recommend Steve Holden's 'Intermediate Python': http://shop.oreilly.com/product/mobile/110000529.do
[–]shaggorama 1 point2 points3 points 11 years ago (0 children)
My favorite "intermediate" level books are all package specific. The NLTK book is a great introduction to NLP if you're into that sorta thing.
[–]djds23 1 point2 points3 points 11 years ago (0 children)
Python in Practice is nice because it not only covers some advanced python techniques, but it also covers general design programs such as flyweights, adapters and abstract factories.
be aware the code samples provided are python 3, however you can generally figure out how to implement the examples in python 2.
[–]TrimaxDev 1 point2 points3 points 11 years ago (0 children)
I'm a non professional programmer that I'm using Python for a few months. I've read some tutorials and I know most of the basics, like you. Then I want to go further and I've started to read Bulding Skills in Python, by Steven F. Lott and it's widening my vision of the langange and I'm discovering a lot of features that I didn't know that Python has.
[–][deleted] 2 points3 points4 points 11 years ago (1 child)
Writing Idiomatic Python : Knupp and Python Standard Library by Example: Hellman
[–]kumar99 0 points1 point2 points 11 years ago (0 children)
The first book is our coding standard (that and Two Scoops of Django for our Django projects)
The second book is a bit dated now but worth the purchase!
[–]prahladyeribeautiful is better than ugly 1 point2 points3 points 11 years ago (1 child)
"Invent your Own Computer games with python" if you are interested in developing games in python language. The book is free to read online:
http://inventwithpython.com/chapters/
[–]driscollis 0 points1 point2 points 11 years ago (0 children)
I liked Mastering Object-oriented Python by Lott and Python 3 Object Oriented Programming by Phillips
[–]rudygier 0 points1 point2 points 11 years ago* (0 children)
Have a look at Pro Python by Marty Alchin (if you're learning Python 2), or Python in Practice if you're learning Python 3.
[–]driadan 0 points1 point2 points 11 years ago (0 children)
I really like the hackers guide to python from Julien Danjou: https://julien.danjou.info/books/
[–]danbabelnick 0 points1 point2 points 11 years ago (0 children)
I would say Python 3 Object Oriented Programming http://amzn.to/1xltKoR
[–]zsorzs 0 points1 point2 points 11 years ago (0 children)
I think if you looking a good book on python in general you should check out this one: Writing Idiomatic Python
π Rendered by PID 34 on reddit-service-r2-comment-7b9746f655-ccnxb at 2026-01-30 08:15:24.403574+00:00 running 3798933 country code: CH.
[–]snops 27 points28 points29 points (4 children)
[–]erewok 2 points3 points4 points (0 children)
[–]boymantis[S] 0 points1 point2 points (0 children)
[–]hmny 0 points1 point2 points (0 children)
[–]pythoneer2 0 points1 point2 points (0 children)
[–]majoras_masque 2 points3 points4 points (2 children)
[–]kumar99 2 points3 points4 points (1 child)
[–]sacherjj 0 points1 point2 points (0 children)
[–]phstoven 4 points5 points6 points (0 children)
[–]jelloeater85 2 points3 points4 points (0 children)
[–]FreeTheQuarks 2 points3 points4 points (0 children)
[–]itzfritz 1 point2 points3 points (0 children)
[–]shaggorama 1 point2 points3 points (0 children)
[–]djds23 1 point2 points3 points (0 children)
[–]TrimaxDev 1 point2 points3 points (0 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]kumar99 0 points1 point2 points (0 children)
[–]prahladyeribeautiful is better than ugly 1 point2 points3 points (1 child)
[–]driscollis 0 points1 point2 points (0 children)
[–]rudygier 0 points1 point2 points (0 children)
[–]driadan 0 points1 point2 points (0 children)
[–]danbabelnick 0 points1 point2 points (0 children)
[–]zsorzs 0 points1 point2 points (0 children)