Take the 2-minute tour ×

For example, c++ have cplusplus.com/reference which contain all of c++ standard library complete with definitions and more importantly examples, so I was wondering if there is such a website for python. I know that python is self documented, like i could use


I know of



But it doesn't have examples of every method. It would be nice if there was such a website, because when I am learning a new python library I find myself just testing the methods to see if it does what I want, and it makes my programming really slow. But this maybe because I have only have 2 years of programming under my belt. So my question is, is there such a website and is there a better way to learning a new library in python? Because when learning a new c++ library, all I need to do is follow by example which makes learning a new c++ library really easy.

share|improve this question
add comment

3 Answers

up vote 9 down vote accepted

Try Python Module of The Week. It may not be exactly what your looking for, but you should find it helpfull.

PyMOTW is a series of blog posts written by Doug Hellmann. It was started as a way to build the habit of writing something on a regular basis. The focus of the series is building a set of example code for the modules in the Python standard library.

share|improve this answer
add comment

Not exactly a website (although you can probably buy a digital version @ Safari Books Online) but the 'Python in a nutshell' book by Alex Martelli (also an active user here on StackOverflow) seems like a good fit for these needs (to be used as a reference guide mostly).

share|improve this answer
I'm also a fan of browsing Python in a Nutshell as a way of learning about new modules (it's my favorite Python book). It is in need of a 3rd edition though - it only covers Python 2.5 and has started to feel a bit dated... –  Scott Griffiths Sep 19 '10 at 20:57
add comment

The effbot website is pretty good though a bit old. In addition, the PyMOTW is suggested earlier.

share|improve this answer
add comment

Your Answer


