On Sun, Sep 12, 2010 at 2:29 PM, Dave Angel <[email protected]> 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.
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to