Created
September 9, 2020 07:58
-
-
Save umiphos/1da27b7381a88ad1b5ffc8ff886c00a4 to your computer and use it in GitHub Desktop.
Convierte cualquier string base64 que es archivo en un archivo en tu disco.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
import sys | |
name = sys.argv[1] | |
content = base64.b64decode(sys.argv[2]) | |
with open(name, "wb") as result: | |
result.write(content) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment