Python Programming for Raspberry Pi, Sams Teach Yourself in 24 Hours

(singke) #1

deleting


class instances, 285
list values, 163

designating open() function mode, 222 - 223


desktop environments (Linux), changing, 34


detecting GPIO input, 542


development environment shell (Python), 50 , 53 - 57. See also IDLE


dictionaries, 175 - 176
accessing data from, 178 - 180
with get operation, 178 - 179
with for loops, 179
with sorted() function, 179 - 180
creating, 176
deep copy, 184
managing, 181 - 182
populating, 176 - 178
programming with, 182 - 187
shallow copy, 184
updating, 180 - 181
values, retrieving, 249 - 250


Digital Clock icon (LXPanel), 39


dir() function, 262


directories


absolute directory references, 219
home directory, 31
Linux directory structure, 217 - 219
managing, 220 - 221
path directories, checking, 270 - 271
present working directory, 31
production directory, moving modules to, 268 - 270
relative directory references, 219
test directories, creating modules in, 266 - 267
upside-down trees, 217

discard operation, 192


displaying
numbers, 102 - 103
text on game screen, 399 - 403
Unicode, 76 - 77


distributions (Linux), 27


documentation for Debian distribution, 28


documenting classes, 286

Free download pdf