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

(singke) #1

Index


Symbols


// (floor division operator), 98


{} placeholder, 102 - 103



  • (asterisk), as pattern for regular expressions, 329


“ (double quotes), print function syntax, 72 - 73


(hash symbol), 80


| (pipe symbol), 331



  • (plus sign), 330


? (question mark), 330


‘ (single quotes), print function syntax, 72 - 73


A


absolute directory references, 219


accessing


data from dictionaries, 178 - 180
with get operation, 178 - 179
with for loops, 179
with sorted() function, 179 - 180
data in tuples, 157
GUI, 29
information from sets, 189 - 192
set difference, 190 - 191
set intersection, 190
set membership, 189
set union, 189 - 190
symmetric set difference, 191
range of values in tuples, 157 - 158

accessor methods, 281 - 283


acquiring Raspberry Pi, 9 - 11


.add operation, 188 - 189


adding
comments to Python scripts, 80
elements to sets, 188 - 189
line feeds with escape sequences, 75 - 76
new data values to lists, 164 - 165
subclasses to object module file, 298 - 300
widgets to windows, 366 - 370

Free download pdf