O'Reilly logo

Python Cookbook, 3rd Edition by David Beazley, Brian K. Jones

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Index

Symbols

!r formatting code, Solution
% (percent) operator, Discussion, Solution
format() function vs., Discussion
* (star) operator
EBNFs and, Solution
**kwargs, Solution
decorators and, Discussion
enforcing signature on, ProblemDiscussion
help function and, Discussion
wrapped functions and, Discussion
*args, Solution
decorators and, Discussion
enforcing signature on, ProblemDiscussion
wrapped functions and, Discussion
+ (plus) operator, Discussion, Solution
-O option (interpreter), Discussion
-OO option (interpreter), Discussion
-W (warnings), Discussion
all option, Solution
error option, Solution
ignore option, Discussion
. (dot) operator, Solution, Selectively eliminate attribute access
< (less than) operator, date comparisons with, Discussion
== operator, Solution
? (question mark) modifier in regular expressions, Solution
\$ (end-marker) in regular expressions, Discussion
_ (single underscore)
avoiding clashes with reserved words, Discussion
naming convention and, Solution
__ (double underscore), naming conventions and, Solution

A

abc module, Problem
abspath() (os.path module), Discussion
abstract base classes, ProblemDiscussion
collections module and, ProblemDiscussion
predefined, Discussion
abstract syntax tree, ProblemDiscussion
abstraction, gratuitous, Avoid gratuitous abstraction
@abstractmethod decorator (abc module), Solution
accepting script via input files, Problem
accessor functions, ProblemDiscussion
adjusting decorators with, ProblemDiscussion
ACCESS_COPY (mmap module), Solution
ACLs, Discussion ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required