cmd/ampcode.py

8 lines
140 B
Python
Raw Normal View History

2020-02-26 21:28:32 +00:00
import sys
from voussoirkit import pipeable
for line in pipeable.go():
line = ''.join('&#%d;' % ord(c) for c in line)
print(line)