The fix was simple for me
Use f = open(‘bytes.bin’, ‘w’) instead of f = open(‘bytes.bin’, ‘wb’)
In python 3 ‘w’ is what you need..!!
The fix was simple for me
Use f = open(‘bytes.bin’, ‘w’) instead of f = open(‘bytes.bin’, ‘wb’)
In python 3 ‘w’ is what you need..!!