ImportError: cannot import name 'Random'

文件名不可以是random ,重命名即可
from Stack Overflow:
Name your file something else. In Python a script is a module, whose name is determined by the filename. So when you start out your file random.py with import random you are creating a loop in the module structure.

浙公网安备 33010602011771号