Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. respXML = httpResponse.content
  2. #also possible respXML = httpResponse.content.decode("utf-8")
  3. #but both get the same error
  4.  
  5. #this line throws the error
  6. respRoot = ET.fromstring(respXML)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement