Package : python-termcolor > RPM : python-termcolor-1.1.0-2.mga7.src.rpm
Basic items
Name | python-termcolor |
Version | 1.1.0 |
Release | 2.mga7 |
URL | http://pypi.python.org/pypi/termcolor |
Group | Development/Python |
Summary | ANSII Color formatting for output in terminal |
Size | 7KB |
Arch | noarch |
License | MIT |
Description
import sys from termcolor import colored, cprint text colored('Hello, World!',
'red', attrs['reverse', 'blink']) print(text) cprint('Hello, World!', 'green',
'on_red') print_red_on_cyan lambda x: cprint(x, 'red', 'on_cyan')
print_red_on_cyan('Hello, World!') print_red_on_cyan('Hello, Universe!') for i
in range(10): cprint(i, 'magenta', end' ') cprint("Attention!", 'red',
attrs['bold'],...
'red', attrs['reverse', 'blink']) print(text) cprint('Hello, World!', 'green',
'on_red') print_red_on_cyan lambda x: cprint(x, 'red', 'on_cyan')
print_red_on_cyan('Hello, World!') print_red_on_cyan('Hello, Universe!') for i
in range(10): cprint(i, 'magenta', end' ') cprint("Attention!", 'red',
attrs['bold'],...
Media information
Distribution release | Mageia 7 |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2019-01-07 00:15:50 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |