Skip to Content
Effective Python: 90 Specific Ways to Write Better Python, 2nd Edition
book

Effective Python: 90 Specific Ways to Write Better Python, 2nd Edition

by Brett Slatkin
November 2019
Intermediate to advanced content levelIntermediate to advanced
480 pages
13h 56m
English
Addison-Wesley Professional
Content preview from Effective Python: 90 Specific Ways to Write Better Python, 2nd Edition

Index

Symbols

* (asterisk) operator

keyword-only arguments, 98

variable positional arguments, 8788

@ (at) symbol, decorators, 101

** (double asterisk) operator, keyword arguments, 9091

/ (forward slash) operator, positional-only arguments, 99

% (percent) operator

bytes versus str instances, 89

formatting strings, 11

+ (plus) operator, bytes versus str instances, 7

_ (underscore) variable name, 149

:= (walrus) operator

assignment expression, 3541

in comprehensions, 112114

__call__ method, 154155

@classmethod, 155160

__format__method, 16

__getattr__ method, 195201

__getattribute__ method, 195201

__init__ method, 160164

__init_subclass__ method

registering classes, 208213

validating subclasses, 201208

__iter__ method, 119, 244245

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Effective Python: 125 Specific Ways to Write Better Python, 3rd Edition

Effective Python: 125 Specific Ways to Write Better Python, 3rd Edition

Brett Slatkin
Python for Programmers

Python for Programmers

Paul Deitel, Harvey Deitel

Publisher Resources

ISBN: 9780134854717