[Tutor] Converting bytes to a string

Cameron Simpson cs at cskk.id.au
Sun Apr 18 20:47:33 EDT 2021


On 19Apr2021 10:18, Phil <phillor9 at gmail.com> wrote:
>On 18/4/21 9:19 pm, Cameron Simpson wrote:
>I wasn't aware of either removesuffix() and repr(), I'll investigate 
>further.
>
>The mysterious character isn't causing a problem, at the moment at 
>least, I was just curious.

There shouldn't be an extraneous character (unless there's something in 
the string you've not shown: repr will help there).

Cheers,
Cameron Simpson <cs at cskk.id.au>


More information about the Tutor mailing list