This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients Yhojann Aguilera, ezio.melotti, rhettinger, vstinner
Date 2019-08-29.22:37:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567118268.93.0.976749472908.issue37984@roundup.psfhosted.org>
In-reply-to
Content
There is an option to work with binary:

    with open(filename, 'rb') as f:
         bin_data = f.read()
    str_data = bin_data.decode('latin-1')
History
Date User Action Args
2019-08-29 22:37:48rhettingersetrecipients: + rhettinger, vstinner, ezio.melotti, Yhojann Aguilera
2019-08-29 22:37:48rhettingersetmessageid: <1567118268.93.0.976749472908.issue37984@roundup.psfhosted.org>
2019-08-29 22:37:48rhettingerlinkissue37984 messages
2019-08-29 22:37:48rhettingercreate