Newsgroups: comp.lang.python
From: Andriy Kornatskyy <andriy.kornats...@live.com>
Date: Sat, 3 Nov 2012 19:23:36 +0300
Local: Sat, Nov 3 2012 12:23 pm
Subject: RE: How to generate account number?
Tim,
Good point. b32decode seems to be capable to understand such common mistakes (see map01 argument to b32decode), I haven't tried:
http://docs.python.org/2/library/base64.html
Thanks.
Andriy
----------------------------------------
> Date: Sat, 3 Nov 2012 10:34:26 -0500
> From: python.l...@tim.thechases.com > To: r...@panix.com > Subject: Re: How to generate account number? > CC: python-l...@python.org > On 11/03/12 08:22, Roy Smith wrote:
> For things that will be read off a screen/paper, I recommend
> >>> print len(''.join(c for c in (string.ascii_uppercase +
> the number 32 is pretty handy when dealing with binary :-)
> -tkc
> [*]
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||