October 2017
Beginner to intermediate
464 pages
12h 35m
English
How would you like to be able to give a key value—such as a name—and have Python find the corresponding value for you? How would you like to be able to have the language carry out searches at lightning speed?
That’s what Python data dictionaries do. They potentially solve many programming problems by creating something like a rudimentary database.
This chapter explores dictionaries and sets by covering the following topics:
Setting up a simple dictionary
Loading and saving to disk files
Operations on sets
Read now
Unlock full access