Page 59 - Python Cơ Bản
P. 59

LXXT   [[[ GVYQQ] GSQ WSJX[EVI &IEYXMJYP7SYT FW  HSG  MRWXEPPMRK


          E TEVWIV




          8VɱR 1EG37  Gɹ XLВ GɧM FЀRK  pip  RLš WEY






           sudo pip install lxml





               :ɴ Hд ZА TEVWMRK <10






          'LS Zɴ Hд WEY





           from bs4 import BeautifulSoup as Soup




           note = '''

           <?xml version="1.0" encoding="UTF-8"?>

           <breakfast_menu>

               <food>

                   <name>Belgian Waffles</name>

                   <price>$5.95</price>

                   <description>Two of our famous Belgian Waff

           les with plenty of real maple syrup</description>

                   <calories>650</calories>

               </food>

               <food>

                   <name>Strawberry Belgian Waffles</name>
   54   55   56   57   58   59   60   61   62   63   64