9
1
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-12-22 19:43:32 +01:00
qp2/scripts/hello.py
2019-01-25 11:39:31 +01:00

143 lines
5.0 KiB
Python

#!/usr/bin/env python2
import random
def main():
hello = [ """
)
( ( /(
( )\ ` ) ( )\())
)(( ) /(/( )\ ((_)\\
((_)_)((_)_\ ((_)| |(_)
/ _` || '_ \)(_-<| ' \\
\__, || .__/ /__/|_||_|
|_||_|
""", """
.x+=:.
z` ^% .uef^"
.d`` . <k :d88E
.u@u @8Ne. .u .@8Ned8" `888E
.zWF8888bx %8888:u@88N .@^%8888" 888E .z8k
.888 9888 `888I 888. x88: `)8b. 888E~?888L
I888 9888 888I 888I 8888N=*8888 888E 888E
I888 9888 888I 888I %8" R88 888E 888E
I888 9888 uW888L 888' @8Wou 9% 888E 888E
`888Nx?888 '*88888Nu88P .888888P` 888E 888E
"88" '888 ~ '88888F` ` ^"F m888N= 888>
88E 888 ^ `Y" 888
98> *8E J88"
'8 '8> @%
` "
""", """
@@@@@@ @@@@@@@ @@@@@@ @@@ @@@
@@@@@@@@ @@@@@@@@ @@@@@@@ @@@ @@@
@@! @@@ @@! @@@ !@@ @@! @@@
!@! @!@ !@! @!@ !@! !@! @!@
@!@ !@! @!@@!@! !!@@!! @!@!@!@!
!@! !!! !!@!!! !!@!!! !!!@!!!!
!!:!!:!: !!: !:! !!: !!!
:!: :!: :!: !:! :!: !:!
::::: :! :: :::: :: :: :::
: : ::: : :: : : : : :
""", """
,-----. .-------. .-'''-. .---. .---.
.' .-, '. \ _(`)_ \ / _ \| | |_ _|
/ ,-.| \ _ \ | (_ o._)| (`' )/`--'| | ( ' )
; \ '_ / | : | (_,_) /(_ o _). | '-(_{;}_)
| _`,/ \ _/ | | '-.-' (_,_). '. | (_,_)
: ( '\_/ \ ; | | .---. \ :| _ _--. |
\ `"/ \ ) \ | | \ `-' ||( ' ) | |
'. \_/``"/) )/ ) \ / (_{;}_)| |
'-----' `-' `---' `-...-' '(_,_) '---'
""", r"""
___ ___ ___
___ / /\ / /\ /__/\
/ /\ / /::\ / /:/_ \ \:\
/ /::\ / /:/\:\ / /:/ /\ \__\:\
/ /:/\:\ / /:/~/:// /:/ /::\ ___ / /::\
/ /:/~/::\ /__/:/ /://__/:/ /:/\:\/__/\ /:/\:\
/__/:/ /:/\:\\ \:\/:/ \ \:\/:/~/:/\ \:\/:/__\/
\ \:\/:/__\/ \ \::/ \ \::/ /:/ \ \::/
\ \::/ \ \:\ \__\/ /:/ \ \:\
\__\/ \ \:\ /__/:/ \ \:\
\__\/ \__\/ \__\/
""", r"""
______ _____ ______ ____ ____
___|\ \ ___|\ \ ___|\ \ | | | |
/ /\ \ | |\ \ | |\ \| | | |
/ / | || | | | | |/____/|| |_| |
| | | || |/____/| ___| \| | || .-. |
|\ \ |__ || || ||| \ \___|/ | | | |
| \ \\` \ /|| ||____|/| |\ \ | | | |
\ \ ___\\ \ ||____| |\ ___\|_____| |____| |____|
\ | ||___|/| | | | | | | | | |
\|____|| | |____| \|____|_____| |____| |____|
\( |___| \( \( )/ \( )/
' )/ ' ' ' ' '
'
""", r"""
______________________________________________/\\\_________
_____________________________________________\/\\\_________
___/\\\\\\\\______/\\\\\\\\\_________________\/\\\_________
__/\\\////\\\____/\\\/////\\\___/\\\\\\\\\\__\/\\\_________
_\//\\\\\\\\\___\/\\\\\\\\\\___\/\\\//////___\/\\\\\\\\\\__
__\///////\\\___\/\\\//////____\/\\\\\\\\\\__\/\\\/////\\\_
________\/\\\___\/\\\__________\////////\\\__\/\\\___\/\\\_
________\/\\\\__\/\\\___________/\\\\\\\\\\__\/\\\___\/\\\_
________\////___\///___________\//////////___\///____\///__
""".replace(r"\\","\033[0;34m\\\\\033[m"), """
_ _ _ _ _ _ _ _
(c).-.(c) (c).-.(c) (c).-.(c) (c).-.(c)
/ ._. \ / ._. \ / ._. \ / ._. \\
__\( Y )/__ __\( Y )/__ __\( Y )/__ __\( Y )/__
(_.-/'-'\-._)(_.-/'-'\-._)(_.-/'-'\-._)(_.-/'-'\-._)
|| \033[0;32mQ\033[m || || \033[0;32mP\033[m || || \033[0;32mS\033[m || || \033[0;32mH\033[m ||
_.' `-' '._ _.' `-' '._ _.' `-' '._ _.' `-' '._
(.-./`-'\.-.)(.-./`-'\.-.)(.-./`-`\.-.)(.-./`-'\.-.)
`-' `-' `-' `-' `-' `-' `-' `-'
""".replace("Y","\033[0;31mY\033[m"), r"""
_ _ _ _
__/\\___ _/\\___ /\\__ _/\\___
(_ __)) (_ _ _)) / \\(_ __ __))
/ _ \\ / |))\\ _\ \_// / |_| \\
/:.(_)) \\_ /:. ___//// \:.\ /:. _ \\
\ _______//\_ \\ \\__ / \___| | //
\// \// \\/ \//
""", """
_ _ _ _
_( )__ _( )__ _( )__ _( )__
_| _|_| _|_| _|_| _|
(_ Q _ (_(_ P _ (_(_ S _ (_(_ H _ (_
|_( )__| |_( )__| |_( )__| |_( )__|
""", r"""
______
______ _________ ___________ /_
_ __ `/___ __ \__ ___/__ __ \
/ /_/ / __ /_/ /_(__ ) _ / / /
\__, / _ .___/ /____/ /_/ /_/
/_/ /_/
""" ]
print random.choice(hello)
print "\n -- Quantum Package Shell --\n"
if __name__ == "__main__":
main()