Is it possible to see have different colors for completed bars and bars in progress if I use PyCharm (e.g. green for completed and red for in progress)? Right now all I see is red for everything. Below is an example of how I currently do it in PyCharm.
from tqdm import tqdm
from time import sleep
for _ in tqdm(range(0, 5), desc="Bar 1"):
sleep(0.5)
for _ in tqdm(range(0, 5), desc="Bar 2"):
sleep(1)
Hi, @casperdcl , I saw the text color of tqdm is red in PyCharm.
So, can I set it into default color as the normal terminal output?
PyCharm always colours stderr red. There are hacks around this: https://stackoverflow.com/questions/20333674/pycharm-logging-output-colours
For example, tqdm(..., file=sys.stdout).
@casperdcl , thanks sincerely for you help!
related (coming soon): #1040; haven't tested in PyCharm though.
Most helpful comment
PyCharm always colours
stderrred. There are hacks around this: https://stackoverflow.com/questions/20333674/pycharm-logging-output-coloursFor example,
tqdm(..., file=sys.stdout).