Please help on print string that contains 'tab' and 'newline'

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sun Jan 28 20:41:25 EST 2018


On Sun, 28 Jan 2018 20:31:39 -0500, Jason Qian via Python-list wrote:

> Thanks a lot :)
> 
> os.write(1, message)  works !

I still do not believe that print(message) doesn't work. I can see no 
reason why you need to use os.write().




-- 
Steve




More information about the Python-list mailing list