SyntaxFix
Write A Post
Hire A Developer
Questions
This should do the trick:
image = open("image.png", "wb") image.write(base64string.decode('base64')) image.close()