Source code: Lib/random.py This module implements pseudo-random number generators for various distributions. For integers, there is uniform selection from a range.
Two free random number generators that work in user-defined min and max range. Both random integers and decimal numbers can be generated with high precision.