there is a year old, similar question – but in case there have been changes afoot:
i’m an intermediate c++ programmer just starting out on python, post some online tuts etc i can do some basic pythoneering, but was wondering if there are good places i can look online for simple(ish) –pref console based– code that i can learn from, ideally with some sort of commentary.
anything come to mind?
thanks
ActiveState Recipes is a good source for all kinds of Python scripts. But if you want to learn the basics of Python, you might just want to look at the standard library that ships with Python (“lib” directory”).