

Luciano Ramalho was a Web developer before the Netscape IPO in 1995, and switched from Perl to Java to Python in 1998.
Meer over Luciano RamalhoFluent Python
Clear, Concise, and Effective Programming
Paperback Engels 2015 9781491946008Samenvatting
Python’s simplicity lets you become productive quickly, but this often means you aren’t using everything it has to offer. With this hands-on guide, you’ll learn how to write effective, idiomatic Python code by leveraging its best—and possibly most neglected—features. Author Luciano Ramalho takes you through Python’s core language features and libraries, and shows you how to make your code shorter, faster, and more readable at the same time.
Many experienced programmers try to bend Python to fit patterns they learned from other languages, and never discover Python features outside of their experience. With this book, those Python programmers will thoroughly learn how to become proficient in Python 3.
This book covers:
- Python data model: understand how special methods are the key to the consistent behavior of objects
- Data structures: take full advantage of built-in types, and understand the text vs bytes duality in the Unicode age
- Functions as objects: view Python functions as first-class objects, and understand how this affects popular design patterns
- Object-oriented idioms: build classes by learning about references, mutability, interfaces, operator overloading, and multiple inheritance
- Control flow: leverage context managers, generators, coroutines, and concurrency with the concurrent.futures and asyncio packages
- Metaprogramming: understand how properties, attribute descriptors, class decorators, and metaclasses work
Specificaties
Lezersrecensies
Geef uw waardering
Inhoudsopgave
1. The Python Data Model
Part 2: Data Structures
1. An Array of Sequences
2. Dictionaries and Sets
3. Text versus Bytes
Part 3: Functions as Objects
1. First-Class Functions
2. Design Patterns with First-Class Functions
3. Function Decorators and Closures
Part 4: Object-Oriented Idioms
1. Object References, Mutability, and Recycling
2. A Pythonic Object
3. Sequence Hacking, Hashing, and Slicing
4. Interfaces: From Protocols to ABCs
5. Inheritance: For Good or For Worse
6. Operator Overloading: Doing It Right
Control Flow
1. Iterables, Iterators, and Generators
2. Context Managers and else Blocks
3. Coroutines
4. Concurrency with Futures
5. Concurrency with asyncio
Part 5: Control Flow
1. Iterables, Iterators, and Generators
2. Context Managers and else Blocks
3. Coroutines
4. Concurrency with Futures
5. Concurrency with asyncio
Part 6: Metaprogramming
1. Dynamic Attributes and Properties
2. Attribute Descriptors
3. Class Metaprogramming
Appendix Support Scripts
Chapter 3: in Operator Performance Test
Chapter 3: Compare the Bit Patterns of Hashes
Chapter 9: RAM Usage With and Without __slots__
Chapter 14: isis2json.py Database Conversion Script
Chapter 16: Taxi Fleet Discrete Event Simulation
Chapter 17: Cryptographic Examples
Chapter 17: flags2 HTTP Client Examples
Chapter 19: OSCON Schedule Scripts and Tests
Rubrieken
- Advisering
- Algemeen management
- Coaching en trainen
- Communicatie en media
- Economie
- Financieel management
- Inkoop en logistiek
- Internet en social media
- IT-management / ICT
- Juridisch
- Leiderschap
- Marketing
- Mens en maatschappij
- Non-profit
- Ondernemen
- Organisatiekunde
- Personal finance
- Personeelsmanagement
- Persoonlijke effectiviteit
- Projectmanagement
- Psychologie
- Reclame en verkoop
- Strategisch management
- Verandermanagement
- Werk en loopbaan