7 of 7 people found the following review helpful:
4.0 out of 5 stars
Easy to follow, December 19, 2006
This review is from: Python Phrasebook (Paperback)
Has great little snippets of code. is very clear in what is says and how to achieve your goals. While it seems to be intended at people with prior Python experience. I had previously only done python debugging. and that combined with perl, bash and C experience i was able to pick up the concepts and get functional quickly (I got done what i wanted to quickly). It is a handy little guide that I am sure I will use regularly.
Almost everything I wanted to accomplish I got done just by using this book.
two weak points.
1) could have covered number formatting in output
2) dealing with dates is not really covered
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
6 of 7 people found the following review helpful:
5.0 out of 5 stars
It's a gem and a bargain, October 25, 2007
This review is from: Python Phrasebook (Paperback)
I've been learning Python through the documentation and tutorials that I've found online, including "Dive Into Python", which is a great introduction to Python available as a free PDF. I am writing code in Python and I have not been satisfied with the Python books I've seen and I want to take my code further. I want to write code like a Python programmer would. I need to be reminded of syntax at times, such as splitting strings, but I don't want to go back to the beginner book. I need to learn new ways and new things I can do with Python.
This well written, simple little book fills that niche. You can put it in your pocket and read it on the train. It's well written and succinct. It's not for learning Python for the first time, you need more explanation and examples when you are learning new concepts. This book is a good reminder of things you already learned but has not completely stuck yet.
Examples I have already used are the string manipulation sections, threads and socket programming. I will probably use the HTML parsing examples next. In his examples Dayley does offer explanation. For example, he describes the elements of the try statement, including the finally, the else and the except parts. However this is done in only two paragraphs. It's a good memory jogger and reference if you already know the syntax.
In the string manipulation section, searching strings, comparing strings, splitting and joining, replacing, trimming and formatting are all covered. In addition, there is a little gem about executing strings as Python code. All the examples are useful and can be included immediately in your code!
I think I'll go through this guide pretty quickly, since it's small, but it's valuable and it's worth having. Let me repeat, this book is for a beginning Python programmer who is learning the basics with some other material, or has already learned the basics.
You can always find example code online, in various blogs, articles and tutorials, however it's easier to have one book by a single author that's well written and has a consistent voice. I highly recommend this book, and I wish the publisher would put out more small books like this. They are so easy to carry and have around.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
3 of 3 people found the following review helpful:
3.0 out of 5 stars
Lots of internet stuff, no math stuff, February 10, 2008
This review is from: Python Phrasebook (Paperback)
Half the book is about internet.
I was disapointed by the absence of math things. 1 or 2 pages could have given an overview of the main math functions. Also no string-numeric conversion functions such as str(), float()... are given. This book is definitely not for scientists or science engineers/technicians.
Things presented are detailed, but they are quite limited.
A fully operational code example often meaningless follows every function introduced. It would be better to my opinion to introduce the functions individualy and then show an example showing several functions in action in a script that means something.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No