mirror of
https://github.com/GoldfishJonny/Andromeda.git
synced 2025-12-09 11:01:06 -08:00
9 lines
207 B
Python
9 lines
207 B
Python
import base64
|
|
import sys
|
|
|
|
base64_data = open(sys.argv[1], "r").read()
|
|
|
|
output_file = sys.argv[1].replace(".txt", ".png")
|
|
|
|
with open(output_file, "wb") as f:
|
|
f.write(base64.b64decode(base64_data.strip())) |