Funny enough, URL escaping works here, i.e.
lxml.etree.DTD( "/tmp/a%20b.dtd" )
I don't think that's generally a good thing, however unless the path really *is* a URL. People might actually have deliberately used a "%" in their file name...
Funny enough, URL escaping works here, i.e.
lxml.etree.DTD( "/tmp/a%20b.dtd" )
I don't think that's generally a good thing, however unless the path really *is* a URL. People might actually have deliberately used a "%" in their file name...