I just stumbled across the PLEAC Project (Programming Language Examples Alike Cookbook).
Project Description:
"Following the great Perl Cookbook (by Tom Christiansen & Nathan Torkington, published by O'Reilly; you can freely browse an excerpt of the book here) which presents a suite of common programming problems solved in the Perl language, this project aims to gather fans of programming, in order to implement the solutions in other programming languages."
There is sample code in many popular languages. The Python examples are really good. They would serve as an excellent primer for someone moving from Perl to Python, or as a general Python reference with cookbook-style examples.
It is hosted at SourceForge and licensed under the GNU Free Documentation License (GFDL).
Copyright © 2006-2008 Corey Goldberg
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.