Author terry.reedy
Recipients Bernie, taleinat, terry.reedy
Date 2019-12-16.22:38:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576535920.3.0.20670438899.issue37762@roundup.psfhosted.org>
In-reply-to
Content
Python374-4.png shows that Tensorflow prints proper lines, ending with newline, when printing to the Windows console.  The 30 character progress bar is repeated on each new line.  It does not appear to be using either \r or \b.  I consider it a bug in tensorflow that it omits newlines when printing to IDLE, and that it apparently add \bs instead.

https://stackoverflow.com/questions/59309917/tensorflow-printing-weird-symbols-as is about the same issue.  The questioner ran 
 for c in '<boxes>': print(hex(ord(c)))
where <boxes> is the copy and pasted segment printing as the reverse bullets and they are indeed backspaces.  In his output, there are 39 backspaces, which is not at all enough to overprint the entire line.  This makes no sense to me.
History
Date User Action Args
2019-12-16 22:38:40terry.reedysetrecipients: + terry.reedy, taleinat, Bernie
2019-12-16 22:38:40terry.reedysetmessageid: <1576535920.3.0.20670438899.issue37762@roundup.psfhosted.org>
2019-12-16 22:38:40terry.reedylinkissue37762 messages
2019-12-16 22:38:39terry.reedycreate