SyntaxFix
Write A Post
Hire A Developer
Questions
Write bytes and Create the file if not exists:
f = open('./put/your/path/here.png', 'wb') f.write(data) f.close()
wb means open the file in write binary mode.
wb
write binary