Files
TakeoutSaaS.Prototypes/pages/_gen.py

6 lines
290 B
Python

import pathlib,base64,sys
p=pathlib.Path(sys.argv[1])
d=base64.b64decode(sys.argv[2])
p.write_text(d.decode(chr(117)+chr(116)+chr(102)+chr(45)+chr(56)),encoding=chr(117)+chr(116)+chr(102)+chr(45)+chr(56))
print(chr(99)+chr(114)+chr(101)+chr(97)+chr(116)+chr(101)+chr(100),p.stat().st_size)