Hello, If I type the following code directly into the interpreter, it works. If I run it from a script, it generates the following error. Can someone help? Thanks! ------------------------ import random for i in range(10): x = random.random() print x ------------------------ TypeError: 'module' object is not callable