Last active
July 20, 2024 23:01
-
-
Save Bktero/f8df17a9163abe164382e71c84f50f0d to your computer and use it in GitHub Desktop.
[Python] Colored text in console with library Colorama
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import colorama | |
colorama.init(autoreset = True) | |
print(colorama.Back.GREEN + colorama.Fore.RED + 'hello, colored world') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With [cmder]:
Within VSCode: