mirror of
https://github.com/paradoxxxzero/butterfly.git
synced 2026-05-26 07:08:08 +00:00
9 lines
195 B
Python
Executable File
9 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'))
|