thanks, that is basically what I am doing and since it is a recipe, I would assume there is no standard library module for it.
Peter Hansen wrote: > [EMAIL PROTECTED] wrote: > > Is there standard library modules handling this ? currently I need to > > turn it into a long integer and do the shift and compare. > > A little Googling turned up this: > > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440560 > > -Peter -- http://mail.python.org/mailman/listinfo/python-list