On Sun, Jan 28, 2018 at 5:35 PM, Steven D'Aprano
<steve+comp.lang.pyt...@pearwood.info> wrote:
> On Sun, 28 Jan 2018 17:04:56 -0800, Dan Stromberg wrote:
>> How about:
>>>>> os.write(1, message)
>
> What do you think that will do that print() doesn't do?

>>> message = b'*does not exist\r\n\tat com.*'
>>> os.write(1, message)
*does not exist
        at com.*26
>>> print(message)
b'*does not exist\r\n\tat com.*'
>>>
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to