import os
os.system("slmgr /ato")

也可以是

from os import*
system("slmgr /ato")

主要是调用os库中的system函数来实现:

下期预告聊天机器人