7 ms·
The new Python Cookbook is out
- inglesp 13y agoCongratulations to David Beazley!
- boothead 13y agoThe Python Cookbook has been a great resource in both of the previous editions. I've been following Dave's pain in writing this on twitter, so I have no doubt that this one will be the same. This is a "must have" on any python hacker's bookshelf!
- mixedbit 13y agoIs this a good book for someone that uses the language for quite some time, but never studied it deeply? I'm looking for something like 'Effective C++' (but for Python of course): a collection of recipes and good practices that would allow an experienced programmer make a better use of the language.
- boothead 13y agoYes, absolutely. There are a multitude of hidden gems in this book.
- lambda_cube 13y agoWell, what kind of book has a collection of recipes? A cookbook, right? :-) I haven't used any edition of the Python cookbook, but I've used the Perl cookbook and it's just like you described. I have also heard and read that the O'Reilly cookbooks are known (famous even?) for being the kind of books that you described.
- gbog 13y agoMartelli's Python in a nutshell is the best I have seen on python. Not a cookbook, more of a reference, but this guy is extremely precise and rereading is always deepening my understanding of python.
- martincmartin 13y agoUnfortunately, the most recent edition only covers 2.4 & the at-the-time proposed 2.5. The best equivalent now is the language reference at python.org.
- topherjaynes 13y agoSecond the must have. I used it to get back into Python after a while. I was able to go through the rough cuts version on Safari Online and it's amazing. Poses a problem then gives you a straightforward, elegant solutions.
- baldfat 13y agoWhen will the Kindle edition be 3rd?
- mrgoldenbrown 13y agoYou can get a mobi or other ebook format from O'Reilly right now: http://shop.oreilly.com/product/0636920027072.do http://shop.oreilly.com/product/0636920027072.do
- frou_dh 13y agoAffiliate linked I see.
- pydanny 13y agoI didn't know this was something you weren't supposed to do. Seriously, if I could delete this link, I would. If this is a problem, I'll donate all proceeds to the charity of your choice. I'll post images of how much is earned.
- masklinn 13y agoI believe moderators can edit links, no idea how to reach them though.
- pydanny 13y agoLet me see what I can do on my end. Again, I'm willing to give all proceeds to the PSF or whoever. Are there published guidelines on this or is this one of those unwritten rules I've stumbled into?
- frou_dh 13y agoNo worries. I think it's usually considered bad form on news aggregators.
- boothead 13y agoThat's very kind. I have a better suggestion though: How about you distribute the proceeds in proportion to the total points of authors with upvoted posts suggesting that people go any buy the book? My comment above has two points already! Even better - the algorithm you write could go into the 4th edition of the Cookbook :-) P.S. Everyone should go any buy the book. (I want this comment to count too!)
- ryankask 13y agoA bit strange that it costs $28.91 on Amazon.com but £38.50 on Amazon.co.uk.
- scrapcode 13y agoThere's an app for that. http://www.cheapriver.com/#?q=python%20cookbook http://www.cheapriver.com/#?q=python%20cookbook
- fuzzix 13y agoOr just go to bookdepository. Seeing it for ~€30, which is ~£25
- tharshan09 13y agoThanks - purchased through amazon.com for £28 with shipping. amazon.co.uk would have been £38 and apparently taken longer to deliver.
- jam-python 13y agoJust ordered this, based on the previous editions feedback.
- euroclydon 13y agoI write a lot of code in C# and am just starting to learn how to use the latest async tools in the language. There are now built-in parallel sorting implementations [1]. So I looked for similar recipes in this book. I see on page 512 something called ProcessPoolExecutor() which looks promising... 1. http://msdn.microsoft.com/en-us/library/dd460688.aspx http://msdn.microsoft.com/en-us/library/dd460688.aspx
- revskill 13y agoI love Python's philosophy. But i always prefer Rails for my web projects. Maybe i'm addicted to Ruby and Rails. Could someone show me the way to be additecd to Python ?
- telemaker 13y agohttps://news.ycombinator.com/item?id=5247393 https://news.ycombinator.com/item?id=5247393 I like python so I use Django. I think Django was always on a better path security wise due to some good decisions early on.
- carioca3 13y agoUdacity's Web Development course is what got me addicted to python. It teaches you how to build a blog using python + google's app engine.
- boothead 13y agoUse pyramid. It's exceptionally well designed. It has very sensible defaults out of the box, but literally everything about the framework is swappable if you need it to be. I can't comment on rails, but I spent quite a long time with django before switching to repoze-bfg (pyramid's previous name). In my experience you don't hit the same wall that you tend to with django when you need to step off the the common path.
- brown9-2 13y agoO'Reilly is selling the ebook for more than Amazon is selling the print book: http://shop.oreilly.com/product/0636920027072.do http://shop.oreilly.com/product/0636920027072.do
- manojlds 13y agoAnd they are pretentious enough to say "Save a tree - Go digital"