Errata

Python Crash Course

Errata for Python Crash Course

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
O'Reilly learning platform Page Chapter 2, Avoiding Syntax Errors with Strings
In Try It Yourself exercises, 2.5 Famous Quote

The famous quote example is in italics.

Ross Burnett  Jan 13, 2024 
Printed Page 273
3rd paragraph

I believe the correct last phrase of the paragraphe should be: "When you're testing this feature, set fleet_drop_speed to a higher value..." and not "set alien_drop_speed to a higher value".

I could not find "_alien_drop_speed" parameter in the code (either mine or the online available official corrections), but "fleet_drop_speed" does exist and work fine for this purpose.

Christophe Tarin  Aug 13, 2020 
Printed Page 277
2nd paragraph

At the top of the page, in the first paragraph explaining changes to do to alien_invasion.py file, I believe the two following lines:
"
# Decrement ships left.
self.stats.ships_left -= 1
"
should be marked in bold characters since, though text is identical, they need to be reindented after adding a new condition for the instruction to be properly performed.

Christophe Tarin  Aug 13, 2020