http://www.oreilly.com/catalog/pythoncook/chapter/index.html A new Python book out, edited by the legendary Alex Martelli and David Ascher. Judging by the sample chapter on O'Reilly it's a real honey... Written loosely in a 'patterns' approach -> problem/solution, it appears to address experienced real-world ~ real-python needs. Valuable tips for applying 2.2 features/advantages. Readable and eminently lucid, as you would expect. It's beautifully oriented towards answering "How do I do xyz? in Python?", thus filling a valuable hole in the bookshelf. Random Examples: 1.7 Collecting a Bunch of Named Items Credit:Alex Martelli Problem You want to collect a bunch of items together,naming each item of the bunch,and you find dictionary syntax a bit heavyweight for the purpose. 1.8 Finding the Intersection of Two Dictionaries Credit:Andy McKay,Chris Perkins,Sami Hangaslammi Problem Given two dictionaries,you need to find the set of keys that are in both dictionaries. 1.8 Finding the Intersection of Two Dictionaries Credit:Andy McKay,Chris Perkins,Sami Hangaslammi Problem Given two dictionaries,you need to find the set of keys that are in both dictionaries. 1.8 Finding the Intersection of Two Dictionaries Credit:Andy McKay,Chris Perkins,Sami Hangaslammi Problem Given two dictionaries,you need to find the set of keys that are in both dictionaries. http://www.oreilly.com/catalog/pythoncook/chapter/index.html bravo+thanks ./Jason
[Jason Cunliffe]
1.8 Finding the Intersection of Two Dictionaries Credit:Andy McKay,Chris Perkins,Sami Hangaslammi Problem Given two dictionaries,you need to find the set of keys that are in both dictionaries.
1.8 Finding the Intersection of Two Dictionaries Credit:Andy McKay,Chris Perkins,Sami Hangaslammi Problem Given two dictionaries,you need to find the set of keys that are in both dictionaries.
1.8 Finding the Intersection of Two Dictionaries Credit:Andy McKay,Chris Perkins,Sami Hangaslammi Problem Given two dictionaries,you need to find the set of keys that are in both dictionaries.
1.8.a Finding Duplicates In a List <wink> Seriously, though, I've got the book and it is excellent intermediate material that is well-written and well-edited. Alex and David and all the contributors did a terrific job. -- Patrick K. O'Brien Orbtech ----------------------------------------------- "Your source for Python programming expertise." ----------------------------------------------- Web: http://www.orbtech.com/web/pobrien/ Blog: http://www.orbtech.com/blog/pobrien/ Wiki: http://www.orbtech.com/wiki/PatrickOBrien -----------------------------------------------
Interview with the editors: http://www.onlamp.com/pub/a/python/2002/08/01/cookbook.html ./Jason
participants (2)
-
Jason Cunliffe -
Patrick K. O'Brien