Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- from termcolor import colored, cprint
- text = colored('Hello, World!', 'grey', attrs=['reverse'])
- print(text)
- text = colored('Hello, World!', 'red', attrs=['reverse'])
- print(text)
- text = colored('Hello, World!', 'green', attrs=['reverse'])
- print(text)
- text = colored('Hello, World!', 'yellow', attrs=['reverse'])
- print(text)
- text = colored('Hello, World!', 'blue', attrs=['reverse'])
- print(text)
- text = colored('Hello, World!', 'magenta', attrs=['reverse'])
- print(text)
- text = colored('Hello, World!', 'cyan', attrs=['reverse'])
- print(text)
- text = colored('Hello, World!', 'white', attrs=['reverse'])
- print(text)
- text = colored('Hello, World!', 'grey', attrs=[])
- print(text)
- text = colored('Hello, World!', 'red', attrs=[])
- print(text)
- text = colored('Hello, World!', 'green', attrs=[])
- print(text)
- text = colored('Hello, World!', 'yellow', attrs=[])
- print(text)
- text = colored('Hello, World!', 'blue', attrs=[])
- print(text)
- text = colored('Hello, World!', 'magenta', attrs=[])
- print(text)
- text = colored('Hello, World!', 'cyan', attrs=[])
- print(text)
- text = colored('Hello, World!', 'white', attrs=[])
- print(text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement