What's the rationale for b"..." in this example?

Skip Montanaro skip.montanaro at gmail.com
Tue May 15 19:02:10 EDT 2018


> Personally, I never use the str(..., encoding="...") notation; I prefer
to use the
> .decode() method of the bytes object.

Thanks. And thanks for the other responses. I obviously didn't have my
thinking cap on this morning. (It was too late in the morning to plead lack
of coffee.)

Skip



More information about the Python-list mailing list