On Jan 18, 12:20 am, "Martin v. Löwis" <mar...@v.loewis.de> wrote:
> >>> s = str(hexlify(urandom(8)))[2:18]
> >> And your question is?
>
> > No question just solution to get rit of b'' :)
>
> Ah. hexlify(urandom(8)).decode('ascii')

Ok that one looks better then mine :)
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to