[Tutor] forcing hashlib to has string variables

Rance Hall ranceh at gmail.com
Sun Sep 12 22:15:55 CEST 2010


On Sun, Sep 12, 2010 at 2:29 PM, Dave Angel <davea at ieee.org> wrote:
>  On 2:59 PM, Rance Hall wrote:
<snip>
> Convert the string to bytes.  If the string is ASCII, you can simply use the
> bytes() function.  If not, you may need to specify an encoding.
<snip>

Thanks Dave, this is what I needed, I looked in the function reference
and didn't see it.


More information about the Tutor mailing list