O'Reilly logo
  • You Wang thinks this is interesting:

Python 3.X draws a sharp distinction between text and binary data in files: text files represent content as normal str strings and perform Unicode encoding and decoding automatically when writing and reading data


Cover of Learning Python, 5th Edition


P3 does automatic encoding and decoding during file processing