“give people a tool, and they’ll code for a day; teach them how to build tools, and they’ll code for a lifetime.… — Mark Lutz Copy Share Image
“As usual in programming, if something is difficult for you to understand, it’s probably not a good idea.” — Mark Lutz Copy Share Image
“Moreover, depending on your Python and code, list comprehensions might run much faster than manual for loop statements (often roughly twice as… — Mark Lutz Copy Share Image
“Interestingly, the iteration protocol is even more pervasive in Python today than the examples so far have demonstrated — essentially everything in Python’s built-in… — Mark Lutz Copy Share Image
“Boolean and and or operators return a true or false object in Python, not the values True or False.” — Mark Lutz Copy Share Image
“Besides directory paths on Windows, raw strings are also commonly used for regular expressions” — Mark Lutz Copy Share Image
“absolutes in performance benchmarks are as elusive as consensus in open source projects!” — Mark Lutz Copy Share Image
“The name used as the assignment target in a for header line is usually a (possibly new) variable in the scope where the for… — Mark Lutz Copy Share Image
“give people a tool, and they’ll code for a day; teach them how to build tools, and they’ll code for a lifetime. This” — Mark Lutz Copy Share Image
“This description requires elaboration when the value and the slice being assigned overlap: L[2:5]=L[3:6], for instance, works fine because the value to be inserted… — Mark Lutz Copy Share Image
“We met the list comprehension briefly in Chapter 4. Syntactically, its syntax is derived from a construct in set theory notation that applies an operation… — Mark Lutz Copy Share Image