please i am faced with UnicodeEncodeError, i have tried to fix it since but i cant get it. i need help
Python file write accepts string as input. I think you have some byte characters too in your content
. A workaround is just typecast content
with string by doing str(content)
.