I am trying to create a binary file in Python3 but i don 't know how to save it, the manual doesn 't say anything about that.
i create a code but i don 't catch the mistake:
s = open('/home/hidura/test.jpeg', 'wb')
s.write(str.encode(formFields[5]))
s.close()