![](https://secure.gravatar.com/avatar/53f39a39001cdc4e7434eb4f1ce947b7.jpg?s=120&d=mm&r=g)
20 Feb
2008
20 Feb
'08
11:41 a.m.
Nef Asus <nefasus@gmail.com> (NA) wrote:
NA> Hello everyone, NA> I've written this little program that refuses to work:
NA> from lxml import etree NA> if __name__ == "__main__": NA> xml_input = "C:\Desarrollo\pythontests\lxml\foo.xml"
Double your backslashes or use r"C:\Desarrollo\pythontests\lxml\foo.xml". -- Piet van Oostrum <piet@cs.uu.nl> URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4] Private email: piet@vanoostrum.org