473,405 Members | 2,444 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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 2444
[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******@verizon.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.1larcxs9r607kN%al*****@yahoo.com...
Raymond Hettinger <vz******@verizon.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.com> 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.com> 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.com (Alex Martelli)
declaimed the following in comp.lang.python:

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.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG <
wu******@dm.net | Bestiaria Support Staff <
================================================== ============ <
Home Page: <http://www.dm.net/~wulfraed/> <
Overflow Page: <http://wlfraed.home.netcom.com/> <

Jul 18 '05 #8
al*****@yahoo.com (Alex Martelli) wrote in message news:<1gkkjme.1larcxs9r607kN%al*****@yahoo.com>...
Raymond Hettinger <vz******@verizon.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******@hotmail.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
On Thu, 23 Sep 2004 23:24:16 +0200, Alex Martelli <al*****@yahoo.com> wrote:
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)

[snip]

I was just curious on your reason's behind it is all. Your nutshell
book is actually the only python book I own and I learned how to
program in python using it. I think it's very well written, just
curious why is all. Python.org does have all the modules docs anyone
could want also.

I've been meaning to pick up the cookbook also which I think you wrote
too...... I have a habbit of only buying O'Reilly books. I like their
layouts.

Thanks.

-Josh
Jul 18 '05 #11
Speaking of platform specific Python books (other than Mark Hammond's
Windows book), what a great idea! There is at least one enthusiastic
customer for a Mac OS X specific Python book (me!).

Ron Stephens
Jul 18 '05 #12
Ron Stephens <rs*******@vectron.com> wrote:
Speaking of platform specific Python books (other than Mark Hammond's
Windows book), what a great idea! There is at least one enthusiastic
customer for a Mac OS X specific Python book (me!).


Unfortunately, with O'Reilly having rejected it, I'm not sure what other
publisher, if any, is enough "into" Mac _and_ Python. So for now I'm
giving precedence to 2nd editions of Cookbook and Nutshell...!
Alex
Jul 18 '05 #13
> Unfortunately, with O'Reilly having rejected it, I'm not sure what other
publisher, if any, is enough "into" Mac _and_ Python. So for now I'm
giving precedence to 2nd editions of Cookbook and Nutshell...!


Alex ....

Maybe you could cut out the middle man, e.g. Cousin O'Reilly,
and consider ....

class AM_Publishing( object ) :

def __init__( self , this_book ) :

self.book = this_book

def xWrite( self ) : pass

def edit( self ) : pass

def xPrint( self ) : pass

def xBind( self ) : pass

def advertise( self ) : pass

def sell( self ) : pass

def distribute( self ) : pass
mac_py = AM_Publishing( 'Mac Python in a NutShell' )
This exercise in *desktop publishing* might be worthy
of a book in itself ....
--
Cousin Stanley
Human Being
Phoenix, Arizona
Jul 18 '05 #14
Cousin Stanley <co***********@hotmail.com> wrote:
Unfortunately, with O'Reilly having rejected it, I'm not sure what other
publisher, if any, is enough "into" Mac _and_ Python. So for now I'm
giving precedence to 2nd editions of Cookbook and Nutshell...!

Alex ....

Maybe you could cut out the middle man, e.g. Cousin O'Reilly,

... mac_py = AM_Publishing( 'Mac Python in a NutShell' )

This exercise in *desktop publishing* might be worthy
of a book in itself ....


I suspect O'Reilly Media's trademark for "in a Nutshell" in book titles
would put me in trouble. Still, sure, I could go for a different title
and self-publish, if I disagreed with ORM's assessment of the market
chances enough to be willing to risk it. I _am_ considering this
possibility, of course. But it seems a bit far-fetched.
Alex
Jul 18 '05 #15

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

Similar topics

1
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...
220
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...
14
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...
25
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...
11
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...
3
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...
9
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...
15
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
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
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,...
0
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...
0
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.