Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from bs4 import BeautifulSoup as bs
- content = []
- with open("test.xml") as testFile:
- content = testFile.readlines()
- content = "".join(content)
- bs_content = bs(content, "lxml")
- test1 = bs_content.find_all("LogFile")
- print (test1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement