Last active
November 20, 2017 20:49
-
-
Save zooba/ddeb9847059702ab7f3e107904584a25 to your computer and use it in GitHub Desktop.
Payload for my PEP 551 demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INTERNET_GUY = [ | |
" .,...:, ", | |
" :,:::::,. ", | |
" `,.';;;';, ", | |
" `,.;'''':. ", | |
" :'+'''; ", | |
" ;''';; ", | |
" ;''';;. ", | |
" ,,.:;;;:;:;;:':.::. ", | |
" .::,,;:;++''+:';,...` ", | |
" `,,:;'::+'';:::';:;:. ", | |
" ;.::;:::::+;:::::':;:.. ", | |
" :.:;;:::;';;''::::;;:;; ", | |
" ,.:;+:';;:;'''::','::::: ", | |
" ,,;;,;;:;':::;';''+;:,,. ", | |
" ::;+`;;;;:':::;::;'',.:: ", | |
" :,:;' '''';;;;''':,;';,,, ", | |
" ,;;;' '::::::::::':'';.. ", | |
" ::;' ;;;;;;;;;;';;',,:. ", | |
" ,..: `';;;';;;:;::';,,. ", | |
" ;:::; ;;;;;;;:::::'...` ", | |
" ,.,,: ;;;;;;;::::::,,, ", | |
" :::; ;;;;;;:::;:;;::: ", | |
" .;`` :;;;;;;;;+:;;;;; ", | |
" :;;;;;;;':;:;`.. ", | |
" ;;';;,;';::: ", | |
" ;;;+;,';;;:; ", | |
" `;;;;:;;;;; ", | |
" ;;;':,;;;' ", | |
" .;;+;.;;:; ", | |
" `';', '';' ", | |
" ;;;;; ;;;; ", | |
" ';;;; ;;;;; ", | |
" ';;' `;;;;` ", | |
] | |
MESSAGES = [ | |
(6, "Don't worry,"), | |
(8, "ma'am"), | |
(16, "I'm from"), | |
(18, "the Internet!"), | |
(-1, None), | |
] | |
messages = iter(MESSAGES) | |
next_i, next_msg = next(messages) | |
for i, line in enumerate(INTERNET_GUY): | |
if next_i == i: | |
print(next_msg.center(40), line) | |
next_i, next_msg = next(messages) | |
else: | |
print(' ' * 40, line) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment