python-distilled
python-distilled copied to clipboard
Resources for Python Distilled (Book)
For example, on UNIX: bash $ env PYTHONPATH=/some/path python3 script.py is not very UNIX like - would need quotes if spaces are to be included and it doesn't mention colons...
Variable Name Should be fixed in the example
This item suggests a few specific additions to the index. I realize indexing is a complex topic, and creating a comprehensive index requires both technical knowledge and indexing skills. This...
Page 141, `countdown` definition in the middle of the page. The `try` block has the following code: ``` while n > 0: yield n n = n - 1 ```...
Page 40, table 2.1, round The description is "Rounds to the nearest multiple of 10-n". The "-n" should be raised as a superscript: 10-n
on page 281 (third line from bottom of page). >>> os.split( ) should be >>> os.split( filename )
On pages 474-475, the `consumer` decorator is not defined. ```python @consumer def line_receiver(): data = bytearray() line = None linecount = 0 while True: part = yield line linecount +=...