Page 82 -
P. 82

textual data



                     Test Drive





           Type the code into IDLE, save the program (choose a name for
           the program that is meaningful to you), and run it.


























                                     And there it is: the current price of coffee
                                      from the Beans’R’Us web page.












           That looks a lot cleaner. Now, instead of displaying the entire
           HTML text of the web page, you’ve cut it down to just the
           piece of the string (the substring) that you need.



                                         That‛s great. It‛s exactly
                                         what I need! You have no
                                         idea how much time and money
                                         this is going to save me...




                                                                                        you are here 4    47
   77   78   79   80   81   82   83   84   85   86   87