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 From 4. Introducing Python Object Types from Learning Python, 5th Edition by Mark Lutz Publisher: O'Reilly Media, Inc. Released: June 2013 Note P3 does automatic encoding and decoding during file processing Share this highlight http://www.safaribooksonline.com/a/learning-python-5th/10725989/ Twitter Facebook Google Plus Email Get Instant Access Now Start a Free Trial Learn about Safari for Business Have an account? Sign in. Minimise Unlock the rest of Learning Python, 5th Edition and 30,000 other books and videos By clicking this box, you confirm that you have read and agree to the terms and conditions of our Membership Agreement, and you understand that when your trial period ends, you will be required to provide billing information if you wish to continue using the service. Unlock the rest of this book Start a Free 10-Day Trial loading Learn about Safari for Business Have an account? Sign in.