ElementTree import tostring, fromstring, Element root = Element('root') root.text = '123\x0c' s = tostring(root) print 's = ', s tree = fromstring(s) if ...
確定! 回上一頁