0

Can anybody tell me how can I change the color of the progress bar of the CLINT module?

I tried with module termcolor but failed.

Henry Yik
  • 22,275
  • 4
  • 18
  • 40
Ijaz Ur Rahim
  • 368
  • 4
  • 18

1 Answers1

0

CLINT has its own way of setting colours.

from clint.textui import colored
red_text = colored.red("Red Text")   # This is a 'red-string' object
print(red_text)     # This will be printed in red.

Maybe with that you can change the colours of the characters printed as your progress bar.

Source: https://stackoverflow.com/a/16630004/7285313

Berbus
  • 160
  • 3
  • 20