I'm trying to parse an xml file using lxml. xml.
etree allowed me to simply pass the file name as a parameter to the parse function, so I attempted to do the same with lxml.
My code:
from lxml import
etree
from lxml import objectify
file = "C:\Projects\python\cb.xml"
tree =
etree.parse(file)
but I get the error:
Traceback (most recent call
…