I notice an annoying occurrence when printing logs to the console during a tqdm
-wrapped loop. In that case, the logs begin in the same line as the tqdm
printouts right after them.
I figure that I can prepend "\r"
to all logs, but I'd rather just find out if the cursor is currently at the start of the line or not. Does python expose that information?
Thanks.