how python stores strings in memory python' string types text and binary files coding basic strings python string literals python string literals string type conversions coding unicode strings coding ascii text coding non-ascii text encoding and decoding non-ascii text other encoding schemes byte string literalsencoded text converting encodings coding unicode strings in python source file character set encoding declarations using bytes objects method calls sequence operations other ways to make bytes objects mixing string types using / bytearray objects bytearrays in action python string types summary using text and binary files text file basics text and binary modes in and type and content mismatches in using unicode files reading and writing unicode in handling the bom in unicode files in unicode filenames and streams other string tool changes in the re pattern-matching module the struct binary data module the pickle object serialization module xml parsing tools summary test your knowledgequiz test your knowledgeanswers table of contents xxvii