
Feb. 20, 2008
8: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