background preloader

Basic

Facebook Twitter

Head First Python  Overall I highly recommend this book. If you want to learn Python, but is not interested in web development, don't worry, just don't read chapters 7, 8, 10 and 11 ;-) Chapter 1: There are no instructions on how to install Python. I'll suggest to give specific instructions on how to install Python on every OS, and don't mean installing from the binaries, but from the source. The rest of chapter 1 is great. Have a LOT of dense material. Chapter 2: Great chapter with lots of details and new things to learn. Chapter 3: The only thing I would add to this chapter is the following link: which has all the exceptions of python.

Chapter 4: Just add the following example in the use of pickle: import pickle fileName = 'path/mydata.pickle' with open(fileName, 'wb') as mysavedata: pickle.dump([1, 2, 'three'], mysavedata) pickle.dump('this is a string line', mysavedata, -1) pickle.dump(['this', 'is', 'a new list'], mysavedata, -1) cond = True while cond: try: except:

Learning Python, 4th Edition  Python Cookbook, 2nd Edition  Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Python Cookbook, Second Edition is a springhaas (Pedetes capensis), also known as a spring hare.

Springhaas are not hares at all, but rather the only member of the family Pedetidae in the order Rodentia. They are not marsupials, but they are vaguely kangaroo-like, with small front legs, powerful hind legs designed for hopping, jumping, and leaping, and long, strong, bushy (but not prehensile) tails they use for balance and as a brace when sitting. They grow to be about 14 to 18 inches long, with tails as long as their bodies, and can weigh approximately 8 pounds. Springhaas mate throughout the year and have a gestation period of about 78 to 82 days. David Futato designed the interior layout. Python in a Nutshell, 2nd Edition  Author Alex Martelli Publisher O'Reilly ISBN: 0-596-10046-9 The author Alex Martelli is Uber Technical Lead at Google, Inc.

Martelli holds a laurea in Ingegneria Elettronica from Bologna University. He wrote Python in a Nutshell two editions, and also co-edited the Python Cookbook. He's a member of the Python Software Foundation, and won the 2002 Activators' Choice Award. Martelli spent 8 years with IBM Research, earning three Outstanding Technical Achievement Awards, and on. The book is a great reference and full of insights and good programming techniques. I found that this book has been able to cover every thing from fundamentals of the Python language to a comprehensive description of some of the more esoteric newer language features and at the same time address many of the applications of the language.

I have found Python in a nutshell 2nd edition a valuable learning tool and reference resource and would recommend it for anyone interested in using Python to its fullest. Programming Python, 4th Edition  Sorry for my bad English and thanks O'Reilly Media for the free copy of the book (Blogger Review Program). The book "Programming Python" covers how to use Python in several domains: system programming, text processing (both traditional fields of Perl), rapid desktop GUIs development and Internet applications. The book does not cover the learning of the language. This is the target of the first book of the "Python saga" of Mark Lutz, "Learning Python".

Reading "Learning Python" before "Programming Python" is not required, but a strong previous knowledge of Python it is. A third book of Python ecosystem is "Python Pocket Reference", a very useful and brief book. This new edition of "Programming Python" is updated to cover Python 3.x. If you buy the ebook, I recommend the O'Reilly shop, because users has a bookshelf with their books in multiple formats. The book is very clear and good written. I recommend studying the table of contents before buying this book.