mirror of
https://github.com/paradoxxxzero/butterfly.git
synced 2025-01-12 12:28:13 +00:00
8 lines
195 B
Python
Executable file
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'))
|