Learn how to write idiomatic, effective Python code by leveraging its best features. Python's simplicity quickly lets you become productive with it, but this often means you aren't using everything the language has to offer. By taking you through Python's key language features and libraries, this practical book shows you how to make your code shorter, faster, and more readable all at the same time--what experts consider "Pythonic."Many programmers who learn Python basics fall into the trap of reinventing the wheel because of past experience in other languages, and try to bend the language to patterns that don't really apply to it. Author Luciano Ramalho, a Python Software Foundation member and Python programmer for 15 years, helps you drop your accent from another language so you can code Python fluently.Learn practical applications of generators for database processingRethink some design patterns in a Python contextExamine attribute descriptors and when to use them: the key to ORMsExplore Pythonic objects: protocols versus interfaces, abstract base classes and multiple inheritance
Pearson Programming and Web Development
- Paperback | 770 pages
- 178 x 233 x 41mm | 1,376g
- 28 Aug 2015
- O'Reilly Media, Inc, USA
- Sebastopol, United States
Python's simplicity lets you become productive quickly, but this often means you aren't using...
About Luciano Ramalho
Luciano Ramalho was a Web developer before the Netscape IPO in 1995, and switched from Perl to Java to Python in 1998. Since then he worked on some of the largest news portals in Brazil using Python, and taught Python web development in the Brazilian media, banking and government sectors. His speaking credentials include PyCon US (2013), OSCON (2002, 2013), and 15 talks over the years at PythonBrasil (the Brazilian PyCon) and FISL (the largest FLOSS conference in the Southern Hemisphere). Ramalho is a member of the Python Software Foundation and co-founder of Garoa Hacker Clube, the first hackerspace in Brazil. He is co-owner of Python.pro.br, atraining company.