Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
from colorama import init, Fore, Back, Style
|
||||
init(autoreset=True)
|
||||
|
||||
print Fore.RED + "FATAL ERROR! Cannot write to /boot/vmlinuz-3.2.0-33-generic"
|
||||
print Back.BLUE + Fore.YELLOW + "What a cute console!"
|
||||
print "This is an %simportant%s word" % (Style.BRIGHT, Style.NORMAL)
|
||||
print Fore.YELLOW + "Rosetta Code!"
|
||||
print Fore.CYAN + "Rosetta Code!"
|
||||
print Fore.GREEN + "Rosetta Code!"
|
||||
print Fore.MAGENTA + "Rosetta Code!"
|
||||
print Back.YELLOW + Fore.BLUE + Style.BRIGHT + " " * 40 + " == Good Bye!"
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
from ctypes import *
|
||||
|
||||
windll.Kernel32.GetStdHandle.restype = c_ulong
|
||||
h = windll.Kernel32.GetStdHandle(c_ulong(0xfffffff5))
|
||||
#Default CMD colour = 7
|
||||
def color(colour):
|
||||
windll.Kernel32.SetConsoleTextAttribute(h, colour)
|
||||
|
||||
for count in range (0, 16):
|
||||
color(count)
|
||||
print "This Colour Is #" + str(count)
|
||||
|
||||
print ""
|
||||
color(7)
|
||||
raw_input("holding cmd")
|
||||
Loading…
Add table
Add a link
Reference in a new issue