473,806 Members | 2,879 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python in a Nutshell for Python 2.4

Does anyone (esp. Alex, if you're listening) know if there is an
update of Python in a Nutshell coming for Python 2.4?
Jul 18 '05 #1
14 2496
[Tuang]
Does anyone (esp. Alex, if you're listening) know if there is an
update of Python in a Nutshell coming for Python 2.4?


I would say let the poor guy finish the Py2.4 Cookbook update first; afterall,
he's only one man. But now there are two Martelli's on the case, so you might
be in luck ;-)
Raymond Hettinger
Jul 18 '05 #2
Raymond Hettinger <vz******@veriz on.net> wrote:
[Tuang]
Does anyone (esp. Alex, if you're listening) know if there is an
update of Python in a Nutshell coming for Python 2.4?


I would say let the poor guy finish the Py2.4 Cookbook update first; afterall,
he's only one man. But now there are two Martelli's on the case, so you might
be in luck ;-)


I have not yet negotiated with O'Reilly about a 2nd edition of the
Nutshell, but I do suspect they'll be quite happy letting me write one,
_after_, as RH says, the 2nd edition of the Cookbook (we're still
targeting March 2004 for that one). Considering the times involved etc
etc, I believe it is out of the question for the 2nd edition of the
Nutshell to be in print in time for OSCON 2005 (==July 2005), alas. So,
don't hold your breath: I believe it will be _at least_ a year from now
before you can buy the 2nd edition of the Nutshell in bookstores:-(.
Alex
Jul 18 '05 #3

"Alex Martelli" <al*****@yahoo. com> wrote in message
news:1gkkjme.1l arcxs9r607kN%al *****@yahoo.com ...
Raymond Hettinger <vz******@veriz on.net> wrote:
[Tuang]
Does anyone (esp. Alex, if you're listening) know if there is an
update of Python in a Nutshell coming for Python 2.4?


I would say let the poor guy finish the Py2.4 Cookbook update first; afterall, he's only one man. But now there are two Martelli's on the case, so you might be in luck ;-)


I have not yet negotiated with O'Reilly about a 2nd edition of the
Nutshell, but I do suspect they'll be quite happy letting me write one,
_after_, as RH says, the 2nd edition of the Cookbook (we're still
targeting March 2004 for that one).


I think you've missed your target date! ;-)
<SNIP>
Jul 18 '05 #4
On Thu, 23 Sep 2004 13:58:03 +0200, Alex Martelli <al*****@yahoo. com> wrote:
I have not yet negotiated with O'Reilly about a 2nd edition of the
Nutshell, but I do suspect they'll be quite happy letting me write one,
_after_, as RH says, the 2nd edition of the Cookbook (we're still
targeting March 2004 for that one). Considering the times involved etc
etc, I believe it is out of the question for the 2nd edition of the
Nutshell to be in print in time for OSCON 2005 (==July 2005), alas. So,
don't hold your breath: I believe it will be _at least_ a year from now
before you can buy the 2nd edition of the Nutshell in bookstores:-(.
Alex


Is there any particular reason you left out certain things in the
Nutshell book? Like os.fork and syslog, and a few others I can't think
of off the top of my head? Maybe because they work the same as the C
version or something, or there is man pages about it?

Just curious why, and if they'll be in the next version or not.

-Josh
Jul 18 '05 #5
Josh Close <na****@gmail.c om> wrote:
...
Is there any particular reason you left out certain things in the
Nutshell book? Like os.fork and syslog, and a few others I can't think
of off the top of my head? Maybe because they work the same as the C
version or something, or there is man pages about it?
The hardest part of writing the Nutshell was to decide what to include,
or more precisely, what NOT to include, to make it as useful as possible
within the 600-pages limit (I broke that limit, a bit, but not by much;
it's 635 pages all told, I believe). It would have been much easier to
just cover every bit in the standard library, avoid useful stuff that's
not in the standard library (Numeric, Tkinter, mxDateTime, etc etc), and
basically parrot the standard library docs. I believe (judging,
basically, by the reviews I got) that by selectively covering only "the
most useful parts" (in my own very personal judgment...) of the standard
library, I managed to make the book more useful to most readers than it
would have been had I taken the easier route. The exhaustive online
docs _are_ there, after all, when you need to make sure you can see the
docs about _every_thing, without Alex's judgment getting in the way; the
Nutshell hopefully covers the parts most readers need most often.

The fact that some parts of the Python standard library only work under
some platforms, but not others, is something I gave high priority to, in
deciding what to cover and what not. I think page xi is quite up-front
about it: "This book ... focuses on Python's cross-platform
capabilities". I do cover _some_ platform-specific aspects, such as
"richer text I/O" (readline, Gonnerman's Alternative Readline, curses,
Gonnerman's WConio, Lundh's Console -- sometimes with just very brief
mentions...), because my experience suggests that such functionality IS
highly sought after by the kind of readers who may often be not
experienced enough to have an easy time finding out the info otherwise.
But mostly, the Nutshell is focused on cross-platform, not platform
specific stuff.

Just curious why, and if they'll be in the next version or not.


I will review every decision I've made, and, should there be an outcry
in favour of platform-specific coverage (so far, I haven't heard many
complaints about the cross-platform focus), I may have to reconsider --
dropping something else (deciding _what_ to drop will be sheer agony...)
to make space for syslog, linuxaudiodev, _winreg, EasyDialogs, whatever.

I think there should be separate books about platform-specific Python
(so far, there's one -- alas getting rather old -- about Windows, but
none about the Mac, Linux, or other Unixen), since just focusing on the
cross-platform potential of Python fills a decent-sized book to the
point it's bursting at the seams (I'm not interested in 1000+ pages
books, and neither is O'Reilly for its Nutshell series). Whether
publishers, and the book-buyers' market, agree with me, is of course
another issue (a proposal for a platform-specific book about Python for
the Mac got rejected -- by the major publisher of Python books AND of
Mac books, they should have a good feeling for these markets -- as aimed
to "a niche within a niche", alas).
Alex
Jul 18 '05 #6
R Baumann <ry**@9yahoo.co m> wrote:
...
_after_, as RH says, the 2nd edition of the Cookbook (we're still
targeting March 2004 for that one).


I think you've missed your target date! ;-)


Ooops -- an off-by-one error, I suspect. Make it March 2005...!-)
Alex
Jul 18 '05 #7
On Thu, 23 Sep 2004 23:24:16 +0200, al*****@yahoo.c om (Alex Martelli)
declaimed the following in comp.lang.pytho n:

point it's bursting at the seams (I'm not interested in 1000+ pages
books, and neither is O'Reilly for its Nutshell series). Whether
Tell them it's a Coconut shell <G>

-- =============== =============== =============== =============== == <
wl*****@ix.netc om.com | Wulfraed Dennis Lee Bieber KD6MOG <
wu******@dm.net | Bestiaria Support Staff <
=============== =============== =============== =============== == <
Home Page: <http://www.dm.net/~wulfraed/> <
Overflow Page: <http://wlfraed.home.ne tcom.com/> <

Jul 18 '05 #8
al*****@yahoo.c om (Alex Martelli) wrote in message news:<1gkkjme.1 larcxs9r607kN%a l*****@yahoo.co m>...
Raymond Hettinger <vz******@veriz on.net> wrote:
[Tuang]
Does anyone (esp. Alex, if you're listening) know if there is an
update of Python in a Nutshell coming for Python 2.4?


I would say let the poor guy finish the Py2.4 Cookbook update first; afterall,
he's only one man. But now there are two Martelli's on the case, so you might
be in luck ;-)


I have not yet negotiated with O'Reilly about a 2nd edition of the
Nutshell, but I do suspect they'll be quite happy letting me write one,
_after_, as RH says, the 2nd edition of the Cookbook (we're still
targeting March 2004 for that one). Considering the times involved etc
etc, I believe it is out of the question for the 2nd edition of the
Nutshell to be in print in time for OSCON 2005 (==July 2005), alas. So,
don't hold your breath: I believe it will be _at least_ a year from now
before you can buy the 2nd edition of the Nutshell in bookstores:-(.


That's too bad, but thanks for the update, Alex. The quality of your
work makes you the right man for too many jobs, it appears. ;-)

BTW, when you said "still targeting Mar 2004" for the Cookbook, were
you joking about the nature of the book publishing industry, or was it
a typo for a real target date of Mar 2005?
Jul 18 '05 #9
Tuang <tu******@hotma il.com> wrote:
...
That's too bad, but thanks for the update, Alex. The quality of your
You're welcome!
work makes you the right man for too many jobs, it appears. ;-)
Flattery will get you anywhere...
BTW, when you said "still targeting Mar 2004" for the Cookbook, were
you joking about the nature of the book publishing industry, or was it
a typo for a real target date of Mar 2005?


The latter - an off-by-one error!-)
Alex
Jul 18 '05 #10

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

Similar topics

1
1715
by: Peter Hansen | last post by:
So there I was just sitting there, minding my own business, and in walks one of the programmers, holding "Python in a Nutshell". "Peter," he says, "this has gotta be the best book you've bought so far. Every thing I need to look up, it's got it." THE END (I told you it was a very short story.)
220
19201
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have any preconceived ideas about it. I have noticed, however, that every programmer I talk to who's aware of Python is also talking about Ruby. So it seems that Ruby has the potential to compete with and displace Python. I'm curious on what basis it...
14
2486
by: Eduardo Patto Kanegae | last post by:
Hello, I have been programming with Visual Basic and PHP in the last 5 years and some folks had recommended Python a free language.... I had looked for a Python book to start up but found many titles... so, my question finally is: what book could be for a Python beginner - but NOT a programming beginner - which intends to develop *windowed* Python programms and intends to develop for Windows and for Linux? for example, look at Thuban...
25
5773
by: abhinav | last post by:
Hello guys, I am a novice in python.I have to implement a full fledged mail server ..But i am not able to choose the language.Should i go for C(socket API) or python for this project? What are the advantages of one over the other in implementing this server.which language will be easier? What are the performance issues?In what language are mail servers generally written?
11
2939
by: Magnus Lycka | last post by:
While the official Python Tutorial has served its purpose well, keeping it up to date is hardly anyones top priority, and there are others who passionately create really good Python tutorials on the web. I think 'A Byte of Python' by Swaroop C H is a good beginners tutorial, and 'Dive Into Python' by Mark Pilgrim is a good tutorial for more experienced programmers.
3
1430
by: nate | last post by:
Hello everyone, Can anyone recommend python text progression from me. Assuming I have no knowledge of python which books should I progress through? I prefer published books that I can actually hold with my hands. But if there are some awesome tutorials on-line I guess I am game. At this moment I am reading Learning Python 2nd edition by O'Reilly. I am enjoying it at the moment. I intend to be done with it in a week. But not sure where it...
9
2673
by: Katie Tam | last post by:
I am new to this filed and begin to learn this langague. Can you tell me the good books to start with ? Katie Tam Network administrator http://www.linkwaves.com/main.asp http://www.linkwaves.com
15
1900
by: dhr | last post by:
newbie question: Is there a 'K&R" type of Python book? The book that you'd better have on your shelf if you are going into Python?
5
1806
by: W. eWatson | last post by:
I read an Amazon of Python in a Nutshell. The first edition is supposedly much like the web site. What web site? The second edition apparently adds more to the book than the web site. -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet Web Page: <www.speckledwithstars.net/>
0
9597
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10620
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10369
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9187
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6877
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5682
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4329
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
2
3851
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.