a problem to solve

Clemens Hepper ethrandil at gmx.net
Sun Mar 26 21:06:24 EST 2006


Hi,

mensanator at aol.com wrote:
> That's one way to do it. I did it that way because I have the
> hex patterns memorized.

You should be able to generate your numbers like this:

number = int('0010010001000000100', 2)

mfg
- eth



More information about the Python-list mailing list