logo

Quotes About Mark Lutz

pdb also includes a postmortem function (pdb.pm()) that you can run after an exception occurs, to get information from the time of the error. See
~ Unknown
Because printing runs __str__ and the interactive prompt echoes results with __repr__, this can provide both target audiences with an appropriate display.
~ Unknown
map is similar to a list comprehension but is more limited because it requires a function instead of an arbitrary expression.
~ Unknown
In Chapter 32, we'll also meet Python static methods (akin to those in C++), which are just self-less functions that usually process class attributes.
~ Unknown
We'll use from to load in our script, just because it's a bit less to type.
~ Unknown
absolutes in performance benchmarks are as elusive as consensus in open source projects!
~ Unknown
That is, a class is a local scope and has access to enclosing local scopes, but it does not serve as an enclosing local scope to further nested code.
~ Unknown
Besides directory paths on Windows, raw strings are also commonly used for regular expressions
~ Unknown
a raw string cannot end in an odd number of backslashes.
~ Unknown