473,569 Members | 2,562 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Question about the Python Cookbook: How much of this is new?

I had a question about the second edition of the Python Cookbook. I own
and have thoroughly enjoyed the first edition of the Python Cookbook.
How much of the second edition is new? Is this "essential reading" if I
already have the first edition? I realize that there are new sections
that describe language features through Python 2.4, but is this, say,
10% of the book (in which case I won't buy a new copy) or is it >25% of
the book (in which case I will). The Chapter (#3) on Time/Money that's
posted on the O'Reilly website is great (and entirely new, if memory
serves).

Thanks in advance...

Rick

Jul 18 '05 #1
2 1241
RickMuller wrote:
I had a question about the second edition of the Python Cookbook. I own
and have thoroughly enjoyed the first edition of the Python Cookbook.
How much of the second edition is new? Is this "essential reading" if I
already have the first edition? I realize that there are new sections
that describe language features through Python 2.4, but is this, say,
10% of the book (in which case I won't buy a new copy) or is it >25% of
the book (in which case I will). The Chapter (#3) on Time/Money that's
posted on the O'Reilly website is great (and entirely new, if memory
serves).


Quoting Trent Mick, who answered this question in another thread:

"""Here is an excerpt from the preface (typing errors are mine):

If you already own the first edition, you may be wondering whether
you need this second edition, too. We think the answer is "yes." The
first edition had 245 recipes; we kep 146 of those (with lots of
editing in almost all cases), and added 192 new ones, for a total of
338 recipes in this second e4dition. So, over half of the recipes in
this edition are complete,ly new, and all the recipes are updated
to apply to today's Python -- releases 2.3 and 2.4. Indeed, this
update is the main factor which lets us have almost 100 more recipes
in a book of about the same size. The first edition covered all
versions from 1.5.2 (one sometimes earlier) to 2.2; this one focuses
fimly on 2.3 and 2.4. Thianks to the greater port of today's Python,
and, even more4, thanks to the fact that this edition avoids the
"historical " treatises about how you had to do things in Python
versions releases 5 or more years ago, we were able to provide
substantially more currently relevant recipes and information in
roughtly the same amount of space.

Trent
"""

So yeah, buy it.

--
Robert Kern
rk***@ucsd.edu

"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
Jul 18 '05 #2
Robert Kern <rk***@ucsd.edu > writes:
So yeah, buy it.


Seconded. My copy arrived from ORA yesterday and I'm still giddy with
delight. Even if you have the first edition, the second includes a lot
of recipes that leverage or demonstrate the new features in 2.3 and
2.4.

Nick

--
# sigmask (lambda deprecation version) 20041028 || feed this to a python
print ''.join([chr(ord(x)-1) for x in 'Ojdl!Wbshjti!= ojdlAwbshjti/psh?'])
Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1385
by: John J Lee | last post by:
QOTW: "...simple genexps will work fine anyway almost all the time, so it doesn't appear to matter much that devious uses will have nightmarish semantics." -- Tim Peters on Generator Expressions "It looks like ... a developer's cookbook (eg. the O'Reilly Python cookbook) but with less Reilly and more "Oh?"." -- Paul Boddie, on the...
0
1178
by: Cameron Laird | last post by:
QOTW: "This is a Python newsgroup. Assume that we all have been brainwashed." -- Peter Otten "y experience porting Java to Jython is that it mostly involves deleting stuff :-)" -- Kent Johnson "eep in mind, however, that not all problems in life can be solved with software." -- Roy Smith
10
1618
by: Simon Brunning | last post by:
QOTW: "I think my code is clearer, but I wouldn't go so far as to say I'm violently opposed to your code. I save violent opposition for really important matters like which text editor you use." - Roy Smith "You need to recursively subdivide the cake until you have a piece small enough to fit in your input buffer. Then the atomicity of the...
0
348
by: Simon Brunning | last post by:
QOTW: "Darn. I finally say something that gets into Quote of the Week, and it's attributed to someone else!" -- Greg Ewing (we think) http://groups-beta.google.com/group/comp.lang.python/msg/15b836a557afccb2 "If there were something wrong with the API, Guido would have long since fired up the time machine and changed the timeline so that all...
0
1349
by: Simon Brunning | last post by:
QOTW: "Sure, but what about the case where his program is on paper tape and all he has for an editor is an ice pick?" - Grant Edwards "And in this case, you get improved usability *and* improved speed at the same time. That's the way it should be." - Fredrik Lundh The Simplest Possible Metaclass: http://orbtech.com/blog/simplemetaclass
0
1375
by: Simon Brunning | last post by:
QOTW: "The security 'droids have decided that since the MS Office Suite is a 'standard' application then software written in MS Office VBA must be 'safe.' Any other development environments (such as Java, Perl, Cygwin) are 'unsafe' and can't be installed." - Peter Olsen "There's nothing wrong with open source projects catering to a market,...
0
1091
by: Simon Brunning | last post by:
QOTW: "It's not perfect, but then nobody in this thread has offered anything even remotely resembling perfect documentation for regular expressions yet. <wink>" - Peter Hansen "Python's flavor of OO is perfectly valid and usable, even though it doesn't follow the Java Holy Bible of Object Orientation (gasp!)" - Hans Nowak "It's highly...
0
1147
by: Simon Brunning | last post by:
QOTW: "As you learn Python, you will find that your PHP code will improve, possibly becoming more and more concise until it disappears completely." - Jorey Bump (Responding to a quotaton of Sturgeon's law: "Ninety percent of everything is crap.") "fwiw, this is of course why google displays 10 results on the first page. according to the...
0
1513
by: Simon Brunning | last post by:
QOTW: "" - John Machin, snipping a section of Perl code. "What sort of programmer are you? If it works on your computer, it's done, ship it!" - Grant Edwards Guido invites us to comment on PEP 343. This Python Enhancement Proposal includes a 'with' statement, allowing you simply and reliably wrap a block of code with entry and exit...
0
7701
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7677
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7979
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1223
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.