Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
Traceback (most recent call last):
  File "encode.py", line 85, in <module>
    sys.exit(main())
  File "encode.py", line 74, in main
    example(sys.argv[1])
  File "encode.py", line 61, in example
    codes_write(bufrmsg, fout)
  ...
    fileobj.write(msg_bytes)
TypeError: write() argument must be str, not bytes

...