random.Random.gauss

Random.gauss(mu, sigma)[source]

Gaussian distribution.

mu is the mean, and sigma is the standard deviation. This is slightly faster than the normalvariate() function.

Not thread-safe without a lock around calls.