truly_random --- A random generator for Python

From the README.txt,

    >>> import truly_random
    >>> truly_random.random()
    >>> truly_random.choice('aeiou')
    >>> truly_random.choice('aeiou')
    >>> truly_random.set_default_as_fourmi()
    >>> truly_random.choice('aeiou')
This module has the same interface as the random module, but uses either /dev/random or Fourmilab's Hotbits service as a source of random bits.

I've tried to comment the code extensively, so please feel free to play around with it. This code is released under the Python Software Foundation License.


Back to python.