Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

i just made a cute 'hello world' app

Name: Anonymous 2017-07-29 17:56

https://pastebin.com/qprgVAmc
(couldn't post it here)

Name: Anonymous 2017-08-07 20:25

somebody wanted some shitty fioc that prints an extra newline

#!/usr/bin/env python3
import sys
from pathlib import Path

if len(sys.argv) < 3:
sys.exit("Usage: anus.py SHAPE TEXT")

row = []
shape = [row]
for c in Path(sys.argv[1]).read_text():
if c == '\n':
row = []
shape.append(row)
else:
row.append(c != ' ')

stack = list(Path(sys.argv[2]).read_text()[::-1])
def fuck():
c = '='
while len(stack) > 0:
tmp = stack.pop()
if not tmp.isspace():
c = tmp
break
return c

for row in shape:
ln = []
for v in row:
ln.append(fuck() if v else ' ')
print(''.join(ln))

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List