Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

print red in python

import os

# System call
os.system("")

# Class of different styles
class style():
    BLACK = '33[30m'
    RED = '33[31m'
    GREEN = '33[32m'
    YELLOW = '33[33m'
    BLUE = '33[34m'
    MAGENTA = '33[35m'
    CYAN = '33[36m'
    WHITE = '33[37m'
    UNDERLINE = '33[4m'
    RESET = '33[0m'

print(style.YELLOW + "Hello, World!")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #red #python
ADD COMMENT
Topic
Name
5+4 =