LWN.net Logo

"Python Cookbook"

"Python Cookbook"

FOR IMMEDIATE RELEASE
August 2, 2002
For more information, a review copy, cover art,
or interview with the editors, contact:
Lisa Mann (707) 827-7096 or lisam@oreilly.com


WRITTEN BY AND BENEFITING THE PYTHON COMMUNITY--
"PYTHON COOKBOOK" IS RELEASED BY O'REILLY & ASSOCIATES


Sebastopol, CA--O'Reilly's newest release. "Python Cookbook" (US
$39.95), is a compilation that draws from the collective expertise of
the Python community--including code created by David Ascher, Tim
Peters, Paul Prescod, Mark Hammond, and Alex Martelli, as well as over
one hundred other Python programmers. The recipes included in this new
book highlight Python best practices and can be used directly in
day-to-day programming tasks, as a source of ideas, or as a way to
learn more about Python. The author royalties will go to the Python
Software Foundation, a non-profit endeavor whose goal is supporting
Python and encouraging its use.

"It's a vastly collective work," says co-editor Alex Martelli, "The
recipes come from hundreds of authors who freely donated them for the
good of Python, so the book inherently deals with what current
Pythonistas consider useful, interesting, and important. It was a real
challenge to both respect the individuality and diversity of each
contributor's style and ideas, and the uniformity of presentation and
style expected from an O'Reilly Cookbook. We did our best to meet these
two apparently conflicting goals, keeping in mind that there's a
meta-goal they both stem from: give the reader of the book the maximum
value, in terms of both clarity and ease of reading (best served by
uniformity) and also exposure to a wide range of individuals' approach
to Python (best served by diversity). So, each time an editing decision
had to be made, the meta-goal of 'maximum value to the reader' was
always foremost in our mind."

The "Python Cookbook" is packed with rigorously reviewed Python
"recipes"--for everything from simple tasks, such as working with
dictionaries and list comprehensions, to entire modules that
demonstrate templating systems and network monitoring--that can be cut
and pasted into your own applications, saving hours of programming
time, and leaving you free to concentrate on the creative and unique
aspects of your application.

"Not everyone has had the good fortune of working side to side with
real experts of the Python language," says Martelli. "The 'Python
Cookbook' gives them the same know-how such experience would give."

More than just a collection of tips and tricks, the "Python Cookbook"
covers topic areas spread across more than two hundred separate
"recipes," including searching and sorting, text manipulation, working
with files, threads, and databases, object oriented programming, XML
processing, network programming, system administration, and more.

"All in all, the breadth and depth of this collection are impressive,"
says Guido van Rossum, Python's creator, in the foreword to the book.
"This is a testimony to Python's wide range of application areas, but
also to its user community."

Anyone interested in Python will find this wealth of practical advice,
chunks of reusable code, and patterns of program design indispensable.


Additional Resources:

Chapter 1, "Python Shortcuts," is available free online at:
http://www.oreilly.com/catalog/pythoncook/chapter/index.html

For a related article, see: "Cooking with Python; Seven Tasty Recipes
for Programmers":
http://www.onlamp.com/pub/a/python/2002/07/11/recipes.html

Visit the O'Reilly Network Python DevCenter:
http://www.onlamp.com/python/

For more information about the book, including Table of Contents,
index, editor bios, and samples, see:
http://oreilly.com/catalog/pythoncook/

For a cover graphic in jpeg format, go to:
ftp://ftp.ora.com/pub/graphics/book_covers/hi-res/059601673.jpg


Python Cookbook
Edited by Alex Martelli & David Ascher
ISBN 0-596-00167-3, 606 pages, $39.95 (US), $61.95 (CAN)
order@oreilly.com
1-800-998-9938
1-707-827-7000
http://www.oreilly.com

About O'Reilly
O'Reilly & Associates is the premier information source for
leading-edge computer technologies. The company's books, conferences,
and web sites bring to light the knowledge of technology innovators.
O'Reilly books, known for the animals on their covers, occupy a
treasured place on the shelves of the developers building the next
generation of software. O'Reilly conferences and summits bring alpha
geeks and forward-thinking business leaders together to shape the
revolutionary ideas that spark new industries. From the Internet to
XML, open source, .NET, Java, and web services, O'Reilly puts
technologies on the map. For more information: http://www.oreilly.com

# # #

O'Reilly is a registered trademark of O'Reilly & Associates, Inc. 
All other trademarks are property of their respective owners.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds