Re: If you have Python Cookbook, 3rd ed.

2021-05-21 Thread Terry Reedy
On 5/19/2021 2:57 PM, Terry Reedy wrote: can you verify that the Algorithm chapter (near end in 2nd ed.) does *NOT* have an introduction by Tim Peters? (Info needed to verify timeit doc correction https://github.com/python/cpython/pull/21744) Thank you to 2 respondents. I have gone ahead with

Re: If you have Python Cookbook, 3rd ed.

2021-05-21 Thread Bischoop
On 2021-05-19, Terry Reedy wrote: > can you verify that the Algorithm chapter (near end in 2nd ed.) does > *NOT* have an introduction by Tim Peters? > (Info needed to verify timeit doc correction > https://github.com/python/cpython/pull/21744) Preface .. xi 1.Data Structure adn Algorithms...

Re: If you have Python Cookbook, 3rd ed.

2021-05-20 Thread boB Stepp
On Thu, May 20, 2021 at 3:48 PM Terry Reedy wrote: > > On 5/20/2021 1:14 PM, boB Stepp wrote: > > On Thu, May 20, 2021 at 11:43 AM Terry Reedy wrote: > >> > >> can you verify that the Algorithm chapter (near end in 2nd ed.) does > >> *NOT* have an introduction by Tim Peters? > >> (Info needed to

Re: If you have Python Cookbook, 3rd ed.

2021-05-20 Thread Terry Reedy
On 5/20/2021 1:14 PM, boB Stepp wrote: On Thu, May 20, 2021 at 11:43 AM Terry Reedy wrote: can you verify that the Algorithm chapter (near end in 2nd ed.) does *NOT* have an introduction by Tim Peters? (Info needed to verify timeit doc correction https://github.com/python/cpython/pull/21744)

Re: If you have Python Cookbook, 3rd ed.

2021-05-20 Thread boB Stepp
On Thu, May 20, 2021 at 11:43 AM Terry Reedy wrote: > > can you verify that the Algorithm chapter (near end in 2nd ed.) does > *NOT* have an introduction by Tim Peters? > (Info needed to verify timeit doc correction > https://github.com/python/cpython/pull/21744) In my 3rd edition copy chapter 1

If you have Python Cookbook, 3rd ed.

2021-05-20 Thread Terry Reedy
can you verify that the Algorithm chapter (near end in 2nd ed.) does *NOT* have an introduction by Tim Peters? (Info needed to verify timeit doc correction https://github.com/python/cpython/pull/21744) -- Terry Jan Reedy -- https://mail.python.org/mailman/listinfo/python-list

Re: ActiveState Code (the new Python Cookbook) has been launched

2008-07-28 Thread Kay Schluehr
On 28 Jul., 18:55, Trent Mick <[EMAIL PROTECTED]> wrote: > Nick Craig-Wood wrote: > > Trent Mick <[EMAIL PROTECTED]> wrote: > >> I happy to announce that ActiveState Code has been taken out of beta. > >> This is the new site replacing the ASPN Cookbooks --

Re: ActiveState Code (the new Python Cookbook) has been launched

2008-07-28 Thread Trent Mick
Nick Craig-Wood wrote: Trent Mick <[EMAIL PROTECTED]> wrote: I happy to announce that ActiveState Code has been taken out of beta. This is the new site replacing the ASPN Cookbooks -- in particular the Python Cookbook. http://code.activestate.com/ Looks great and much faste

Re: ActiveState Code (the new Python Cookbook) has been launched

2008-07-28 Thread Nick Craig-Wood
Trent Mick <[EMAIL PROTECTED]> wrote: > I happy to announce that ActiveState Code has been taken out of beta. > This is the new site replacing the ASPN Cookbooks -- in particular the > Python Cookbook. > > http://code.activestate.com/ Looks great and much faster tha

Re: ActiveState Code: the new Python Cookbook site

2008-07-11 Thread Trent Mick
Peter Otten wrote: Thin Myrna wrote: The old cookbook offered choices by category. Did you drop that feature? Looks like categories have become tags: http://code.activestate.com/recipes/tags/ Yes, that is correct. I should document the tag names to category mapping that I've used (mostly

Re: ActiveState Code: the new Python Cookbook site

2008-07-11 Thread Peter Otten
Thin Myrna wrote: > The old cookbook offered choices by category. Did you drop that feature? Looks like categories have become tags: http://code.activestate.com/recipes/tags/ Peter -- http://mail.python.org/mailman/listinfo/python-list

Re: ActiveState Code: the new Python Cookbook site

2008-07-11 Thread Thin Myrna
Trent Mick wrote: > Stef Mientki wrote: >> one small remark, >> If I want to browse 200 recipes, at 10 per page >> ... please make something like 100 available per page, >> are internet is fast enough nowadays. > > Touche. Done: > >http://code.activestate.com/recipes/?paginate_by=100 >

Re: ActiveState Code: the new Python Cookbook site

2008-07-10 Thread Trent Mick
Stef Mientki wrote: one small remark, If I want to browse 200 recipes, at 10 per page ... please make something like 100 available per page, are internet is fast enough nowadays. Touche. Done: http://code.activestate.com/recipes/?paginate_by=100 Cheers, Trent -- Trent Mick trentm at

Re: ActiveState Code: the new Python Cookbook site

2008-07-09 Thread Stef Mientki
hi Mike, nice job, I just took a quick look, Trent Mick wrote: The Python Cookbook is by far the most popular of the ASPN Cookbooks, so I wanted to get the Python community's feedback on the new site. What do you think? What works? What doesn't? I'll try to answer feedback

Re: Singleton in Python Cookbook

2007-07-26 Thread Alex Popescu
Steve Holden <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > Alex Popescu wrote: >> Alex Popescu <[EMAIL PROTECTED]> wrote in >> news:[EMAIL PROTECTED]: >> >>> "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote in >>> news:[EMAIL PROTECTED]: >>> > > [snip...] > > If, that is, "work" means "R

Re: Singleton in Python Cookbook

2007-07-26 Thread Bruno Desthuilliers
Alex Popescu a écrit : > Bruno Desthuilliers <[EMAIL PROTECTED]> wrote in > news:[EMAIL PROTECTED]: > >> Alex Popescu a écrit : > >> [snip...] >> >> >> I don't have the book, so if you don't post the code, I just give up >> trying to guess what the problem can be. > > I've sent the original co

Re: Singleton in Python Cookbook

2007-07-26 Thread Alex Popescu
Bruno Desthuilliers <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > Alex Popescu a écrit : > > [snip...] > > > I don't have the book, so if you don't post the code, I just give up > trying to guess what the problem can be. I've sent the original code and 2 different variants a long tim

Re: Singleton in Python Cookbook

2007-07-26 Thread Bruno Desthuilliers
Alex Popescu a écrit : > Hi all! > > I was reading through Python Cookbook the Singleton recipe. At this moment > I am a bit puzzled as the example in the book is not working resulting in: > > TypeError: type.__new__(SingleSpam): SingleSpam is not a subtype of type > >

Re: Singleton in Python Cookbook

2007-07-25 Thread Steve Holden
Alex Popescu wrote: > Alex Popescu <[EMAIL PROTECTED]> wrote in > news:[EMAIL PROTECTED]: > >> "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote in >> news:[EMAIL PROTECTED]: >> >>> Alex Popescu schrieb: >>>> Hi all! >>

Re: Singleton in Python Cookbook

2007-07-25 Thread O.R.Senthil Kumaran
* Alex Popescu <[EMAIL PROTECTED]> [2007-07-25 21:30:14]: > TypeError: type.__new__(SingleSpam): SingleSpam is not a subtype of type That's hardly helpful. All I can think about is, SingleSpam is a class and you have to defined the Class in your program, or it could be something else also. > (I

Re: Singleton in Python Cookbook

2007-07-25 Thread John J. Lee
Alex Popescu <[EMAIL PROTECTED]> writes: > Hi all! > > I was reading through Python Cookbook the Singleton recipe. At this moment > I am a bit puzzled as the example in the book is not working resulting in: > > TypeError: type.__new__(SingleSpam): SingleSpam is not a

Re: Singleton in Python Cookbook

2007-07-25 Thread John J. Lee
"Diez B. Roggisch" <[EMAIL PROTECTED]> writes: [...] > AFAIK the cookbook is completely found online at ASPN. So no sweat > publishing it here. [...] No: the book-form cookbook is edited, and has extra text. I believe the recipes are under a BSD-style license, though. John -- http://mail.pytho

Re: Singleton in Python Cookbook

2007-07-25 Thread Alex Popescu
Alex Popescu <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote in > news:[EMAIL PROTECTED]: > >> Alex Popescu schrieb: >>> Hi all! >>> >>> I was reading through Python Cookbook th

Re: Singleton in Python Cookbook

2007-07-25 Thread Alex Popescu
"Diez B. Roggisch" <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > Alex Popescu schrieb: >> Hi all! >> >> I was reading through Python Cookbook the Singleton recipe. At this >> moment I am a bit puzzled as the example in the book is not worki

Re: Singleton in Python Cookbook

2007-07-25 Thread Diez B. Roggisch
Alex Popescu schrieb: > Hi all! > > I was reading through Python Cookbook the Singleton recipe. At this moment > I am a bit puzzled as the example in the book is not working resulting in: > > TypeError: type.__new__(SingleSpam): SingleSpam is not a subtype of type > >

Singleton in Python Cookbook

2007-07-25 Thread Alex Popescu
Hi all! I was reading through Python Cookbook the Singleton recipe. At this moment I am a bit puzzled as the example in the book is not working resulting in: TypeError: type.__new__(SingleSpam): SingleSpam is not a subtype of type (I haven't presented the original code as I am not sure

Re: Question about the article "py2exe compiler" in Python Cookbook by Alexander Semenov

2006-09-22 Thread Thomas Heller
Daniel Mark schrieb: > Hello all: > > I follow the following tutorial > > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/108598 > Description: > script for making executables with py2exe > ## > from distutils.core import setup > import sys, os, py2exe > > name = sys.argv[1]

Question about the article "py2exe compiler" in Python Cookbook by Alexander Semenov

2006-09-22 Thread Daniel Mark
Hello all: I follow the following tutorial http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/108598 Description: script for making executables with py2exe ## from distutils.core import setup import sys, os, py2exe name = sys.argv[1] sys.argv[1] = 'py2exe' sys.path.append(os.pat

[Fwd: Sept 14 Fredericksburg, VA ZPUG: Packaging with zpkg, review of Python Cookbook 2nd ed]

2005-09-12 Thread Benji York
ditor will present a discussion of zpkg, the Zope Packaging Tools (http:// www.zope.org/Members/fdrake/zpkgtools/). - Gary Poster, Zope Corp Senior Software Engineer, will present a brief review of the second edition of the O'Reilly Python Cookbook (http://www.oreilly.com/catalog/pythoncook

Review of 'Python Cookbook'

2005-06-06 Thread TechBookReport
TechBookReport (http://www.techbookreport.com) has just published a review of the Python Cookbook. This is an extract from the full review: We're big fans of cookbooks here at TechBookReport, whether its Java, XSLT or Linux, they're a great way of pulling together lots of useful s

Re: Python Cookbook, 2'nd. Edition is published

2005-04-06 Thread Matteo Dell'Amico
Python. +1. The Python Cookbook is really great, and being included in the contributors, even if for a little tiny idea that got heavily refactored, feels wonderful. I'm really grateful to the python community. -- Ciao, Matteo -- http://mail.python.org/mailman/listinfo/python-list

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

2005-04-06 Thread Nick Vargish
Robert Kern <[EMAIL PROTECTED]> 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

Re: TOC of Python Cookbook now online (was Re: author index for Python Cookbook 2?)

2005-04-04 Thread beliavsky
tions in the > book. This is likely its only shortcoming! > > -- robin I have found the site http://aspn.activestate.com/ASPN/Python/Cookbook/ , which has the code for 1142 recipes, with the names of authors listed. -- http://mail.python.org/mailman/listinfo/python-list

Re: TOC of Python Cookbook now online (was Re: author index for Python Cookbook 2?)

2005-04-04 Thread robin
[EMAIL PROTECTED] wrote: >I emailed the O'Reilly webmaster, and the table of contents are now >online at http://www.oreilly.com/catalog/pythoncook2/toc.html and also >listed below. Unfortunately there is no list of authors for the sections in the book. This is likely its only shortcoming! -- rob

Re: Python Cookbook, 2'nd. Edition is published

2005-04-04 Thread robin
Cameron Laird wrote: >IT'S IN THERE. The answer to all questions--well, to >surprisingly many questions--is in the Second Edition. >Even questions about the Second Edition itself are >answered therein. So, the summary: if in doubt, as- >sume that the Second Edition has what you want. It even

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

2005-04-03 Thread Robert Kern
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 the

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

2005-04-03 Thread RickMuller
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 tha

Re: Python Cookbook

2005-04-03 Thread rdsteph
I want to just second this comment by Heike. I received my copy of the 2nd Edition from O'Reilly on Friday. I am still working my way slowly through the first chapter on Text, and I am nearing the end of that chapter. I intend to work my way through sequentially, because I can't think of a better

Python Cookbook

2005-04-03 Thread Heiko Wundram
Hi all! I've received my copy of the Python Cookbook two days ago, and just thought that I might independently commend all you editors and recipe designers out there to an excellent book! I've thoroughly enjoyed reading the introductions in each chapter, and although I've been

TOC of Python Cookbook now online (was Re: author index for Python Cookbook 2?)

2005-03-30 Thread beliavsky
[EMAIL PROTECTED] wrote: > Premshree Pillai wrote: > > There's an index here: > http://harvestman.freezope.org/cookbook/creds.html > > That lists the authors. Where is a list of the recipes? I emailed the O'Reilly webmaster, and the table of contents are now online at http://www.oreilly.com/catalo

Re: author index for Python Cookbook 2?

2005-03-30 Thread Raymond Hettinger
[Fuzzyman] > Three of my recipes are in - but one has been merged with someone elses > and improved beyond all recognition :-) Gets my vote for QOTW quote of the week. The comment captures the spirit of the cookbook and highlights the benefits of the process (public review, reader comments, compe

Re: author index for Python Cookbook 2?

2005-03-30 Thread beliavsky
Premshree Pillai wrote: > There's an index here: http://harvestman.freezope.org/cookbook/creds.html That lists the authors. Where is a list of the recipes? -- http://mail.python.org/mailman/listinfo/python-list

Re: author index for Python Cookbook 2?

2005-03-30 Thread Fuzzyman
Premshree Pillai wrote: > There's an index here: http://harvestman.freezope.org/cookbook/creds.html > > But dunno if all the recipes were finally included. Maybe somebody > (Alex?) can confirm? > > [snip..] Well - my copy just arrived :-) Three of my recipes are in - but one has been merged with

Re: Python Cookbook, 2'nd. Edition is published

2005-03-29 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Trent Mick <[EMAIL PROTECTED]> wrote: >> > I don't have my copy yet. Can you give any guidance on how the 2'nd >> > edition compares to the 1'st edition? > >Here is an excerpt from the preface (typing errors are mine): > >If you already own the first edition, yo

Re: author index for Python Cookbook 2?

2005-03-29 Thread Premshree Pillai
uthor index for the new version of the > > Python cookbook? As a contributor I got my comp version > > delivered today and my ego wanted some gratification. > > I couldn't find my entries. > > > > Andrew > >

Re: author index for Python Cookbook 2?

2005-03-29 Thread Fuzzyman
Andrew Dalke wrote: > Is there an author index for the new version of the > Python cookbook? As a contributor I got my comp version > delivered today and my ego wanted some gratification. > I couldn't find my entries. > >

Re: author index for Python Cookbook 2?

2005-03-28 Thread Cappy2112
Yes mentioned on Page 25, recipe 1.11. It may not be the context you were expecting, but it's your name. -- http://mail.python.org/mailman/listinfo/python-list

Re: author index for Python Cookbook 2?

2005-03-28 Thread Steve Holden
Cappy2112 wrote: I'm pretty sure I saw your name in one of the recipes for the new book. Why not email Oreilly Jonathan Gennick might be interested in pointing people at that information. Unfortunately for reasons oo tedious to detail I can't mail him directly right now, but I know he's emailed t

Re: author index for Python Cookbook 2?

2005-03-28 Thread Cappy2112
I'm pretty sure I saw your name in one of the recipes for the new book. Why not email Oreilly -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Cookbook 2nd Ed

2005-03-28 Thread Terry Reedy
"Will McGugan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Is the second edition of the Python Cookbook worth getting if you have > the first edition? How much new material is there in the 2nd edition? >From Page xx: 146 old, 192 new, 338 total. 1.52

author index for Python Cookbook 2?

2005-03-28 Thread Andrew Dalke
Is there an author index for the new version of the Python cookbook? As a contributor I got my comp version delivered today and my ego wanted some gratification. I couldn't find my entries. Andrew [EMAIL PROTECTED] --

Re: Python Cookbook, 2'nd. Edition is published

2005-03-28 Thread Trent Mick
> > I don't have my copy yet. Can you give any guidance on how the 2'nd > > edition compares to the 1'st edition? 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 th

Re: Python Cookbook, 2'nd. Edition is published

2005-03-28 Thread Larry Bates
seems to be 250+ > pages bigger than the 1'st Ed. How much of the book is new, and does it > use the same chapter headings? > Ron Stephens > > Someone else asked a similar questiosn in another thread, I copy it > here.. > > ""Is the second edition of the Python

Re: Python Cookbook 2nd Ed

2005-03-28 Thread Skip Montanaro
Will> Is the second edition of the Python Cookbook worth getting if you Will> have the first edition? How much new material is there in the 2nd Will> edition? While I have dived into it yet, I received a copy from O'Reilly last week. It's about twice the size o

Re: Python Cookbook, 2'nd. Edition is published

2005-03-28 Thread rdsteph
Someone else asked a similar questiosn in another thread, I copy it here.. ""Is the second edition of the Python Cookbook worth getting if you have the first edition? How much new material is there in the 2nd edition? Thanks, Will McGugan "" -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Cookbook, 2'nd. Edition is published

2005-03-28 Thread Larry Bates
[EMAIL PROTECTED] wrote: > See http://www.oreilly.com/catalog/pythoncook2/index.html > > I don't see it on Amazon yet, but you can order it from O'Reilly. > > Ron Stephens > www.awaretek.com > I received my copy on Friday (because I was a contributor). I wanted to thank Alex, Anna, and David fo

Python Cookbook 2nd Ed

2005-03-28 Thread Will McGugan
Hi, Is the second edition of the Python Cookbook worth getting if you have the first edition? How much new material is there in the 2nd edition? Thanks, Will McGugan -- http://mail.python.org/mailman/listinfo/python-list

Python Cookbook, 2'nd. Edition is published

2005-03-27 Thread rdsteph
See http://www.oreilly.com/catalog/pythoncook2/index.html I don't see it on Amazon yet, but you can order it from O'Reilly. Ron Stephens www.awaretek.com -- http://mail.python.org/mailman/listinfo/python-list

Re: python cookbook

2004-12-21 Thread Franz Steinhaeusler
On Tue, 21 Dec 2004 14:54:23 +0100, emami <[EMAIL PROTECTED]> wrote: >L.S., > >I have heard that Python cookbook is free! Could somebody tell me where >I can find it? > >[...] You mean, the whole cookbook as chm archive? It was published first, but then removed a

Re: python cookbook

2004-12-21 Thread Fredrik Lundh
"emami" <[EMAIL PROTECTED]> wrote: > I have heard that Python cookbook is free! http://aspn.activestate.com/ASPN/Python/Cookbook/ > Could somebody tell me where I can find it? google? -- http://mail.python.org/mailman/listinfo/python-list

Re: python cookbook

2004-12-21 Thread Steve Holden
emami wrote: L.S., I have heard that Python cookbook is free! Could somebody tell me where I can find it? In your stocking this Christmas, I hope, otherwise you'll probably have to pay for the printed version. The recipes are extracted from the ActiveState web site, however - see

python cookbook

2004-12-21 Thread emami
L.S., I have heard that Python cookbook is free! Could somebody tell me where I can find it? The second one is that I am busy to translate some "csh/bash" scripts to Python script. Where can I find a good reference to do easy this work? with regards, Nader -- http://mail.python.o