For specs with bit patterns instead of numbers: def bits2num(*bs): return reduce(lambda a,b: a|b, [v<<b for b,v in enumerate(reversed(bs))])
0 replies
1 retweet
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.