XML parsing using python

In order to parse a  XML website we are going to use
beautiful soup library.

follow the steps written below - 
  1. Go to terminal window and enter - "pip install beautifulsoup4".                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
  2. visit the following link for the code - "https://github.com/Nishang786/XML-parsing"
          (you can change the tags that you want to extract)





      3. download a package from following link - 
          "https://github.com/Nishang786/XML-parsing/tree/master/bs4".
      
     
4. save the package and code in one folder.
     






     5. open the folder in terminal window and enter the address of file.
       




    
6. In case error shows try these commands

                           pip install --upgrade bs4
                           pip install --upgrade bleach==1.4.2
                           pip install --upgrade html5lib==1.0b8



                                                                                                                                                                                

Comments

  1. dude it's not that easy to get traffic on a blog !
    nice Content par try to make more often don't just stay idol i think u r a Python freak start the content from the homework material and with time make it complex !

    ReplyDelete
    Replies
    1. thank you for the advice. please check out my recent blog

      Delete

Post a Comment

Popular posts from this blog

Displaying Current Location on Map Using Leaflet JS

AI Real time face Detection using WebCam (PYTHON)