blob: 8ce1a9529edb11a4dadfd4179b0fd2ed595682ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env python3
from binascii import b2a_uu
with open('1enc.inp') as f:
s = f.read()
with open('1enc.out', 'w') as f:
for i in range(0, n, 45):
f.write(b2a_uu(bytes(s[i : i+45], 'utf-8')).decode())
|