Re: what would you like to see in a 2nd edition Nutshell?

2005-01-18 Thread Alex Martelli
kery [EMAIL PROTECTED] wrote: ... Any schedule for publication of 2nd Ed? I just bought 1st Ed. The 2nd edition Python Cookbook appears to be on-track for PyCon (late March) for the very first ink-on-paper -- probably April in bookstores. The 2nd edition Python in a Nutshell is more

Re: what would you like to see in a 2nd edition Nutshell?

2005-01-18 Thread Alex Martelli
Steven Chan [EMAIL PROTECTED] wrote: I completely agree. I'm also waiting for an advanced Python/project management book that helps folks out with large-scale projects. I won't schedule that project until the Nutshell 2nd ed is substantially done... and I'm not _promising_ I'll schedule it

Re: what would you like to see in a 2nd edition Nutshell?

2005-01-17 Thread Steven Chan
I completely agree. I'm also waiting for an advanced Python/project management book that helps folks out with large-scale projects. And, for the 2nd edition, may I suggest: - coverage of OptionParser module, which is more advanced than the getopt module that you discuss on page 141. - better Mac

Re: what would you like to see in a 2nd edition Nutshell?

2005-01-12 Thread kery
Alex Martelli wrote: Craig Ringer [EMAIL PROTECTED] wrote: On Wed, 2004-12-29 at 23:54, Thomas Heller wrote: I found the discussion of unicode, in any python book I have, insufficient. I couldn't agree more. I think explicit treatment of implicit conversion, the role of

Re: what would you like to see in a 2nd edition Nutshell? A: Unicode aware scrollable message box in Tk

2004-12-31 Thread Pekka Niiranen
Well, I have not read the previous version, but I would like to see an example how to redirect console messages from scripts to Tk windows in UTF-8/16 for debugging purposes. (I hate those ordinal not in range(128) messages) This involves setting font (Arial MS Unicode), scrollbar and Continue

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-31 Thread JanC
JoeG schreef: I disagree with your Tkinter vs. wxPython decision. I tried a number of programs written with Tkinter and really didn't like the interface. The program I helped develop is Windows based and I knew that a program with the Tkinter interface would never work as a cross platform

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread Dave Cook
On 2004-12-29, Alex Martelli [EMAIL PROTECTED] wrote: the coverage of Twisted and adding just a few things (numarray -- I'd rather have a whole book on Twisted :p. But I'll take a more extensive section in PiaN if I can't have it. Dave Cook --

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread Alex Martelli
Dave Cook [EMAIL PROTECTED] wrote: On 2004-12-29, Alex Martelli [EMAIL PROTECTED] wrote: the coverage of Twisted and adding just a few things (numarray -- I'd rather have a whole book on Twisted :p. But I'll take a more extensive section in PiaN if I can't have it. I believe one or

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread alecwy
Discussion of GIL and (in)ability to control thread priority. Thanks for asking! -- http://mail.python.org/mailman/listinfo/python-list

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread JoeG
I use your book a lot so another version would be helpful. I know I'll buy a copy. Heck, I'd pay you money just to have access to the draft while you write it. One suggestion I have is to include chapters that expand on test based development and lazy functions. Maybe you could go into some of

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread Michael Bernstein
Aside from negative indices, I'd also suggest a small (and rather obvious) example for replacing a substring: s='spam' s=s[:1]+'xx'+s[3:] s 'sxxm' - Michael -- http://mail.python.org/mailman/listinfo/python-list

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread Dave Reed
On Wednesday 29 December 2004 18:01, Alex Martelli wrote: snip So -- ctypes is definitely getting a _mention_, at least... the issue remains of whether we're talking one paragraph, like for all other extending-tools that were already thus mentioned in the 1st edition, or a couple of pages (I

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread Alex Martelli
On 2004 Dec 30, at 19:19, Dave Reed wrote: This discussion is making me think what would be really nice is an advanced Python book that discusses many of the topics mentioned in this message and earlier messages in the thread. I'd rather see an in-depth advanced book than light coverage of the

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread Mariano Draghi
Alex Martelli escribió: Yes, good point... I _do_ plan another book after I'm done with the 2nd ed Nutshell, though ti will mostly be about Design Patterns and development methods so may not meet your exact desires... Now I'm anxious! *that* is the book I'm waiting for :) I think the Python

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread matiu
I enjoyed the first edition. Please include: vpython.org, twisted and pygame and if you'll consider a gui toolkit do pygtk, we use it to develop and deploy on both windows and linux, with glade gui designer and libglade (loads the glade xml files in runtime). It's much easier to use than wx and

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread Nick Coghlan
Mariano Draghi wrote: I think that somehow Python's J2EE equivalent is already out there (sort of...), I think it's called PEAK. . . Cheers, Nick. -- Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia ---

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread Nick Coghlan
JoeG wrote: wxPython takes on more of the native platform's interface. I say seems to because I haven't actually written any code with it. While Tkinter is the GUI toolkit shipped *with* Python, then that's the correct toolkit for Alex to cover in PiaN. Mentioning other toolkits (and providing

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-30 Thread Gregor Horvath
RM wrote: What you say is true. However, I didn't think the target audience of this book was newbies. Python newbies yes, but not programming newbies. For programming newbies I would recommend the Learning Python book instead. The availability argument, however, is a good point. I was/am a

what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
I'm considering proposing to O'Reilly a 2nd edition of Python in a Nutshell, that I'd write in 2005, essentially to cover Python 2.3 and 2.4 (the current 1st edition only covers Python up to 2.2). What I have in mind is not as complete a rewrite as for the 2nd vs 1st edition of the Cookbook --

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread TZOTZIOY
On Wed, 29 Dec 2004 11:35:18 +0100, rumours say that [EMAIL PROTECTED] (Alex Martelli) might have written: [snip: things to cover in a tentative 2nd edition of the nutshell] and new capabilities of existing modules, such as thread-local storage. ...which I most surely missed learning about it.

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Arthur
On Wed, 29 Dec 2004 11:35:18 +0100, [EMAIL PROTECTED] (Alex Martelli) wrote: So, if there's any advice or request about a 2nd edition of the Nutshell, this is the right time for y'all to let me know. Feedback is welcome, either privately or right here. Thanks in advance -- _and_ apologies in

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread TZOTZIOY
On Wed, 29 Dec 2004 14:05:18 +0200, rumours say that Christos TZOTZIOY Georgiou [EMAIL PROTECTED] might have written: [snip: things to cover in a tentative 2nd edition of the nutshell] [Alex] and new capabilities of existing modules, such as thread-local storage. [I] ...which I most surely

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Thomas Heller
[EMAIL PROTECTED] (Alex Martelli) writes: I'm considering proposing to O'Reilly a 2nd edition of Python in a Nutshell, that I'd write in 2005, essentially to cover Python 2.3 and 2.4 (the current 1st edition only covers Python up to 2.2). What I have in mind is not as complete a rewrite as

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread djw
I found the discussion of unicode, in any python book I have, insufficient. Thomas +1 Don -- http://mail.python.org/mailman/listinfo/python-list

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread terraplane
As an already-experienced programmer, I came to Python via this book and still use it as my primary reference. As a Python beginner, I had a difficult time with the section on Slicing a sequence (p. 47). In particular, a better explanation and examples of negative indicies would be helpful.

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Scott David Daniels
Alex Martelli wrote: I'm considering proposing to O'Reilly a 2nd edition of Python in a Nutshell, that I'd write in 2005, essentially to cover Python 2.3 and 2.4 (the current 1st edition only covers Python up to 2.2). So, if there's any advice or request about a 2nd edition of the Nutshell, this

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Fuzzyman
I second that Regards, Fuzzy http://www.voidspace.org.uk/python/index.shtml -- http://mail.python.org/mailman/listinfo/python-list

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread beliavsky
I like the current edition. Since it is a reference work, I would like to see it in a CD-ROM as well as in print, either packaged with a book or as part of a Python CD Bookshelf, analogous to the other CD bookshelves O'Reilly offers. -- http://mail.python.org/mailman/listinfo/python-list

Re: learning about threads and processes (was Re: what would you like to see in a 2nd edition Nutshell?)

2004-12-29 Thread Aahz
In article [EMAIL PROTECTED], Alex Martelli [EMAIL PROTECTED] wrote: Hmmm - have you looked at Deitel, Deitel, Liperi, Wiedermann, Python how to program, chapters 18 (Process Management) and 19 (Multithreading), pages 613-687? They seem to do a rather workmanlike job -- of course, they can't do

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Fernando Perez
Alex Martelli wrote: the coverage of Twisted and adding just a few things (numarray -- perhaps premature to have it _instead_ of Numeric, though; dateutils, You might want to keep in touch with the scipy/numarray gang on this particular topic. An effort is currently under way to make scipy

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Craig Ringer
On Wed, 2004-12-29 at 23:54, Thomas Heller wrote: I found the discussion of unicode, in any python book I have, insufficient. I couldn't agree more. I think explicit treatment of implicit conversion, the role of sysdefaultencoding, the u'' constructor and unicode() built in, etc would be

Re: learning about threads and processes (was Re: what would you like to see in a 2nd edition Nutshell?)

2004-12-29 Thread Arthhur
On Wed, 29 Dec 2004 16:41:23 +0100, Alex Martelli wrote: Hmmm, well, the concepts are reasonably independent of the programming language involved. If anything, threads and processes may be more tied to whatever _operating system_ you're using. A very fundamental but good introduction to

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Russell E. Owen
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Alex Martelli) wrote: I'm considering proposing to O'Reilly a 2nd edition of Python in a Nutshell, that I'd write in 2005, essentially to cover Python 2.3 and 2.4 (the current 1st edition only covers Python up to 2.2). ... Since you were kind

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread c d saunter
Alex Martelli ([EMAIL PROTECTED]) wrote: : I'm considering proposing to O'Reilly a 2nd edition of Python in a : Nutshell, that I'd write in 2005, essentially to cover Python 2.3 and : 2.4 (the current 1st edition only covers Python up to 2.2). : So, if there's any advice or request about a 2nd

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread RM
Alex Martelli wrote: I still believe Tkinter coverage is going to help more readers. Alex, I know this can be a can of worms. But honestly, I wonder what do you base that idea on. -Ruben -- http://mail.python.org/mailman/listinfo/python-list

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Grig Gheorghiu
As a tester, my vote goes to extending the Testing subsection of the Testing, debugging and optimizing. I'd like to see more testing tools discussed there. Maybe py.test, PyFIT, and possibly others. Grig -- http://mail.python.org/mailman/listinfo/python-list

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Steve Holden
RM wrote: Alex Martelli wrote: I still believe Tkinter coverage is going to help more readers. Alex, I know this can be a can of worms. But honestly, I wonder what do you base that idea on. -Ruben Tkinter is a part of the Python core, and so will be available to the majority of beginners.

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
Craig Ringer [EMAIL PROTECTED] wrote: On Wed, 2004-12-29 at 23:54, Thomas Heller wrote: I found the discussion of unicode, in any python book I have, insufficient. I couldn't agree more. I think explicit treatment of implicit conversion, the role of sysdefaultencoding, the u''

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
[EMAIL PROTECTED] wrote: As a Python beginner, I had a difficult time with the section on Slicing a sequence (p. 47). In particular, a better explanation and examples of negative indicies would be helpful. Good point, thanks. This is nitpicking in what I consider to be a very good book.

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
Fernando Perez [EMAIL PROTECTED] wrote: Alex Martelli wrote: the coverage of Twisted and adding just a few things (numarray -- perhaps premature to have it _instead_ of Numeric, though; dateutils, You might want to keep in touch with the scipy/numarray gang on this particular topic.

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread RM
What you say is true. However, I didn't think the target audience of this book was newbies. Python newbies yes, but not programming newbies. For programming newbies I would recommend the Learning Python book instead. The availability argument, however, is a good point. --

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
Russell E. Owen [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Alex Martelli) wrote: I'm considering proposing to O'Reilly a 2nd edition of Python in a Nutshell, that I'd write in 2005, essentially to cover Python 2.3 and 2.4 (the current 1st edition only covers

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
c d saunter [EMAIL PROTECTED] wrote: Probably not a practical sugestion, but have you considered ctypes? I know it's proved invaluable to our group at university - we like to make Python work with so many bits of weird hardware with vendor supplied libraries etc ... Yes, I was

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
RM [EMAIL PROTECTED] wrote: Alex Martelli wrote: I still believe Tkinter coverage is going to help more readers. Alex, I know this can be a can of worms. But honestly, I wonder what do you base that idea on. Availability, simplicity, stability, to name three reasons. The typical

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
Grig Gheorghiu [EMAIL PROTECTED] wrote: As a tester, my vote goes to extending the Testing subsection of the Testing, debugging and optimizing. I'd like to see more testing tools discussed there. Maybe py.test, PyFIT, and possibly others. Thanks! Very helpful input. Testing surely needs

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Alex Martelli
RM [EMAIL PROTECTED] wrote: What you say is true. However, I didn't think the target audience of this book was newbies. Python newbies yes, but not programming newbies. For programming newbies I would recommend the Learning Python book instead. Sure (or any of the other excellent

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Russell E. Owen
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Alex Martelli) wrote: Russell E. Owen [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Alex Martelli) wrote: I'm considering proposing to O'Reilly a 2nd edition of Python in a Nutshell, that I'd write in 2005,

Re: what would you like to see in a 2nd edition Nutshell?

2004-12-29 Thread Robert Kern
Alex Martelli wrote: Fernando Perez [EMAIL PROTECTED] wrote: A mention of the particular problems with numarray might be a good idea, so that readers are aware of Numeric and where it may still be preferable to numarray, but with the understanding that it's a (shrinking) niche. Hopefully one day