Python 2.7.3, ln34, from random import Random as _Random

Dave Angel d at
Mon Mar 25 13:44:46 CET 2013

On 03/25/2013 08:29 AM, dbv wrote:
> In Python 2.7.3, at ln34 the source file states:
> from random import Random as _Random
> But, Random is a Class.

Have you just tried the following:

    import random
    print dir(random.random)
    print random.__file__

I suspect you have another (or equivalent) in your sys.path


More information about the Python-list mailing list