Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python elementTree tostring write() argument must be str, not bytes

>>> type(tostring(element, encoding="unicode"))
<class 'str'>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #elementTree #tostring #argument #bytes
ADD COMMENT
Topic
Name
6+3 =