Writing Idiomatic Python 3.3
The "Writing Idiomatic Python" book is finally here! Chock full of code samples, you'll learn the "Pythonic" way to accomplish common tasks. Each idiom comes with a detailed description, example code showing the "wrong" way to do it, and code for the idiomatic, "Pythonic" alternative. *This version of the book is for Python 3. There is also a Python 2.7+ version available.* "Writing Idiomatic Python" contains the most common and important Python idioms in a format that maximizes identification and understanding. Each idiom is presented as a recommendation to write some commonly used piece of code. It is followed by an explanation of why the idiom is important. It also contains two code samples: the "Harmful" way to write it and the "Idiomatic" way. * The "Harmful" way helps you identify the idiom in your own code. * The "Idiomatic" way shows you how to easily translate that code into idiomatic Python. This book is perfect for you: * If you're coming to Python from another programming language * If you're learning Python as a first programming language * If you're looking to increase the readability, maintainability, and correctness of your Python code What is "Idiomatic" Python? Every programming language has its own idioms. Programming language idioms are nothing more than the generally accepted way of writing a certain piece of code. Consistently writing idiomatic code has a number of important benefits: * Others can read and understand your code easily * Others can maintain and enhance your code with minimal effort * Your code will contain fewer bugs * Your code will teach others to write correct code without any effort on your part
9781482374810
Book, Paperback
Writing Idiomatic Python 3.3
- Author: Jeff Knupp
118
English
10.80 x 8.40 x 0.40 inches, 0.70 pounds
| Acceptable: | Fairly worn but fully readable and intact. Pages may include notes, highlighting, or minor water damage. Dust jacket, CDs, product codes, or other inclusions may be missing or expired. |
| Good: | Shows signs of wear. Pages may include limited notes or highlighting. Dust jacket, CDs, product codes, or other inclusions may be missing or expired. |
| Very Good: | Item has seen limited use and has minimal signs of wear. Pages are clean without markings. Dust jacket, CDs, product codes, or other inclusions may be missing or expired. |
| Like New: | Shows little to no signs of wear. Spine has no signs of creasing. Pages are clean without markings. CDs, product codes, or other inclusions may be missing or expired. |
| New: | Brand new, unused, and in perfect condition. Includes all original packaging and accessories. |