Files
SyncHome/trunk/workspace/C_CPP/Logo/main.py
2023-03-13 08:36:51 +00:00

35 lines
1.8 KiB
Python

logosplash=[]
resolved=[]
logosplash.append("\xff\x20\xff\x20\x20\x20\xff\x20\xff\x20\x20\xff\xff\xff\x20\x20\xff\x20\xff\x20\x20\xff\xff\xff\x20\x20*** Improved by ***")#\x2a\xff\xff\xff\x20\x20\xff\xff\xff\x20\x20\xff\xff\xff\x20\x20\xff\xff\xff\x20\x20\xff\x20\xff\x20\x20\x20")
logosplash.append("\xff\x20\xff\x20\x03\x20\xff\x01\xff\x20\x20\xff\x20\xff\x20\x20\xff\x01\xff\x20\x20\xff\x20\xff\x20\x20** 2018 - Paolo Iocco **")#\x2a\xff\x03\x03\x20\x20\xff\x20\xff\x20\x20\x20\xff\x20\x20\x20\xff\x03\x03\x20\x20\x20\xff\x20\x20\x20\x20")
logosplash.append("\xff\x20\xff\x20\x04\x20\xff\x02\xff\x20\x20\xff\xff\xff\x20\x20\xff\x02\xff\x20\x20\xff\x20\xff\x20\x20** and his bright **")#\x2a\xff\x04\x04\x20\x20\xff\xff\x20\x20\x20\x20\xff\x20\x20\x20\xff\x04\x04\x20\x20\x20\xff\x20\x20\x20\x20")
logosplash.append("\x20\xff\x20\x20\x20\x20\xff\x20\xff\x20\x20\xff\x20\xff\x20\x20\xff\x20\xff\x20\x20\xff\xff\xff\x20\x20** Family ***")#\x2a\xff\xff\xff\x20\x20\xff\x20\xff\x20\x20\x20\xff\x20\x20\x20\xff\xff\xff\x20\x20\xff\x20\xff\x20\x20\x20")
stringa=" "
lista=list(stringa)
for x in range(4):
for a in range(0,len(logosplash[x])):
if logosplash[x][a]=="\xff":
lista[a]=u'\u2588'
elif logosplash[x][a]=="\x20":
lista[a]=' '
elif logosplash[x][a]=="\x03":
lista[a]=u'\u2584'
elif logosplash[x][a]=="\x04":
lista[a]=u'\u2580'
elif logosplash[x][a]=="\x01":
lista[a]=u'\u25E3'
elif logosplash[x][a]=="\x02":
lista[a]=u'\u25E5'
else:
lista[a]=logosplash[x][a]
resolved.append(''.join(lista))
print resolved[0]
print resolved[1]
print resolved[2]
print resolved[3]