Feb-18-2018, 04:57 PM
I see that your output is as bytes. The new line is the Windows one ( \r\n ).
You have to convert it to string.
You have to convert it to string.
b'hello'.decode('utf-8')So
output = output.decode('utf-8')