I found strange thing while studying through idle

Rob Gaddi rgaddi at highlandtechnology.invalid
Fri Mar 9 12:46:02 EST 2018


On 03/08/2018 07:57 PM, Steven D'Aprano wrote:
> [snip]
> 
> But it is possible that due to differences between platforms, the
> OP's version of IDLE doesn't display a carriage return as \r but
> rather as an invisible zero-width space.
> 

Just to derail this conversation a bit, does anyone have a use case in 
the modern (Py3) age for '\r'?  I use b'\r' fairly regularly when 
talking to serial port devices.  But the string version?


-- 
Rob Gaddi, Highland Technology -- www.highlandtechnology.com
Email address domain is currently out of order.  See above to fix.



More information about the Python-list mailing list