Page 433 -
P. 433

the index


              Head First C# (Stellman, Greene), 388            command-line execution of, 391
              Head First Java (Sierra, Bates), 388             comments in, 95, 205
              Head First Object-Oriented Analysis & Design     debugging, 390
                  (McLaughlin, Pollice, West), 392             duplicating, 80–81
              Head First SQL (Beighley), 170                   indents in, 21, 22
              Learning Python, 4th Edition (Lutz), 386         paths in, 13, 20–21
           brackets, curly ({}), creating hashes, 153, 175     pseudo-code, 127
           brackets, square ([])                               Python practices for, 386
              creating arrays, 132, 134                        reusing with functions, 81–82, 351–360
              enclosing index of array, 132                    reusing with modules, 192–199, 200–202, 205–211,
              enclosing index of string, 42                        214
              enclosing key for hash, 153                      running from IDLE, 7–8
                                                               saving, 7
           branches, 14, 15–21, 24
                                                               testing, 389
           break statement, 255                                white space in, 22
           Button() widget, 255                             code examples. (see examples)
              connecting code to, 239–244, 245              coffee examples. (see health club example; Starbuzz Coffee
              creating, 234–236                                  example)
                                                            collection variables. (see data structures)
                                                            colon (:)
           C                                                   in if/else branches, 22
                                                               in index of string, 43
                                                               in while loops, 29
           C# language                                      combo boxes, 248
              compared to Python, 9
              learning, 388                                 command-line execution, 391
           characters. (see strings)                        comments, 95, 205
           Checkbutton() widget, 331–335, 348               conditionals, 35
                                                               in branches, 14–15
           classes, 366, 372–373, 383. (see also methods; objects)
              constructors for, 370–373, 383                   in while loops, 29
              data for, 372                                 constructors (initializer methods), 370–373, 383
              defining, 367–368                             control variables, 278
           clock() function, time library, 70               controller, 277, 292
           close() method, files, 116, 144                  count() method, arrays, 138
           code                                             crashes, 296
              bloated, 81                                   curly brackets ({}), creating hashes, 153, 175









           398    Index
   428   429   430   431   432   433   434   435   436   437   438