At the Python terminal, I can run:
import random
random.randint(1,6)
It gives a number, as expected. However, I save this script as random.py and it fails to run:
import random
print random.randint(1,3)
It says "AttributeError: 'module' object has no attribute 'randint'"