Page 236 - thinkpython
P. 236

214                                                                       Index

                      FileNotFoundError, 140               for loop, 30, 44, 72, 91, 119, 184
                      IndexError, 72, 78, 90, 197          formal language, 4, 7
                      KeyError, 104, 197                   format operator, 138, 145, 197
                      LookupError, 107                     format sequence, 138, 145
                      NameError, 22, 197                   format string, 138, 145
                      OverflowError, 46                     frame, 23, 26, 44, 56, 109
                      RuntimeError, 45                     Free Documentation License, GNU, v, vi
                      StopIteration, 185                   frequency, 105
                      SyntaxError, 19                          letter, 123
                      TypeError, 72, 74, 108, 116, 118, 139, 164,  word, 125, 134
                          197                              fruitful function, 24, 26
                      UnboundLocalError, 110               frustration, 200
                      ValueError, 46, 117                  function, 3, 17, 19, 25, 161
                  exception, catching, 140                     abs, 52
                  execute, 11, 14                              ack, 61, 113
                  exists function, 139                         arc, 31
                  experimental debugging, 25, 134              choice, 126
                  exponent, 202                                circle, 31
                  exponential growth, 203                      compare, 52
                  expression, 10, 14                           deepcopy, 152
                      big and hairy, 199                       dict, 103
                      boolean, 40, 47                          dir, 197
                      conditional, 183, 191                    enumerate, 119
                      generator, 185, 186, 191                 eval, 69
                  extend method, 92                            exists, 139
                                                               factorial, 56, 183
                  factorial, 183                               fibonacci, 57, 109
                  factorial function, 56, 58                   find, 74
                  factory, 191                                 float, 17
                  factory function, 188, 189                   fruitful, 24
                  False special value, 40                      getattr, 168
                  Fermat’s Last Theorem, 48                    getcwd, 139
                  fibonacci function, 57, 109                   hasattr, 153, 168
                  file, 137                                     input, 45
                      permission, 140                          int, 17
                      reading and writing, 137                 isinstance, 58, 153, 166
                  file object, 83, 87                           len, 26, 72, 104
                  filename, 139                                 list, 94
                  FileNotFoundError, 140                       log, 18
                  filter pattern, 93, 100, 184                  math, 18
                  find function, 74                             max, 117, 118
                  flag, 110, 112                                min, 117, 118
                  float function, 17                            open, 83, 84, 137, 140, 141
                  float type, 4                                 polygon, 31
                  floating-point, 4, 7, 67, 183                 popen, 142
                  floating-point division, 39                   programmer defined, 22, 129
                  floor division, 39, 46, 47                    randint, 101, 126
                  flow of execution, 21, 26, 58, 59, 65, 178, 196  random, 126
                  flower, 37                                    reasons for, 24
                  folder, 139                                  recursive, 43
   231   232   233   234   235   236   237   238   239   240   241