paradoxxxzero_butterfly/bin/bcat
Florian Mounier ca454b4149 Add escapes
2015-04-13 17:32:59 +02:00

8 lines
195 B
Python
Executable file

#!/usr/bin/env python
import sys
import base64
from butterfly.escapes import image
with image():
with open(sys.argv[1], 'rb') as f:
print(base64.b64encode(f.read()).decode('ascii'))