April 2014
Beginner to intermediate
634 pages
15h 22m
English
We've looked at one of our sample problem domains: the casino game of Blackjack. We like it because it has some algorithmic complexity, but isn't too sophisticated or esoteric. We've also introduced three important modules that we'll be using throughout the book:
timeit module is something we'll use to compare performance of alternative implementationsunittest and doctest modules will be used to confirm that our software works correctlyWe've also looked at some of the ways we'll add documentation to our Python programs. We'll be using docstrings in modules, classes, and functions. To save space, not every example will show the docstrings. In spite of this, they should be considered as essential.
The use of an integrated development ...