Initial commit
This commit is contained in:
commit
c17cdd6e7e
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
*.swp
|
||||
|
2374058
deep.throat
Normal file
2374058
deep.throat
Normal file
File diff suppressed because it is too large
Load Diff
23
player.py
Executable file
23
player.py
Executable file
|
@ -0,0 +1,23 @@
|
|||
#! /usr/bin/env python3
|
||||
# Credits: Vuk Cosic - Deep ASCII - 1998
|
||||
from time import sleep
|
||||
|
||||
|
||||
def main():
|
||||
with open('deep.throat') as f:
|
||||
content = f.read()
|
||||
frames = content.split('[2K')[1:]
|
||||
try:
|
||||
print('\n' * 100)
|
||||
for frame in frames:
|
||||
print(frame)
|
||||
sleep(1/25)
|
||||
|
||||
except KeyboardInterrupt:
|
||||
print('\r')
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
Loading…
Reference in New Issue
Block a user