OFF | cURL : OFF | WGET : ON | Perl : ON | Python : OFF Directory (0755) : /media/../../usr/share/doc/python3.8-minimal/../grep/../python3-colorama/examples/ |
Home | ☍ Command | ☍ Upload File | ☍Info Server | ☍ Buat File | ☍ Mass deface | ☍ Jumping | ☍ Config | ☍ Symlink | ☍ About |
---|
from __future__ import print_function import fixpath from colorama import colorama_text, Fore def main(): """automatically reset stdout""" with colorama_text(): print(Fore.GREEN + 'text is green') print(Fore.RESET + 'text is back to normal') print('text is back to stdout') if __name__ == '__main__': main()