I'm baffled as to why the command line isn't able to run a certain script when the Python GUI can. What i'm trying to run is:
import random
print random.random()
Which runs fine in the Python GUI but when saved as a file (random.py) and ran through the command line
C:\Users\Name>python c:\Python\random.py
it produces this error:
TypeError: 'module' object is not callable
Has anyone had this problem or know why it occurs?
Thanks for your time!