cmd/ampcode.py

5 lines
128 B
Python

from voussoirkit import pipeable
for line in pipeable.go():
line = ''.join('&#%d;' % ord(c) for c in line)
print(line)