Thomas Guettler <st-newsgroups at thomas-guettler.de> writes: > I have two python version installed: > with the cygwin version "print 2**32-1" works > but with the zope version I get OverFlowError. > > Background: > I want to get a random 32-Bit integer like this randrange(0, 2*32-1) Values of sys.maxint must be different. Try: randrange(0,2147483647).