# 根据输入匹配命令,根据命令查找操作 import re while True: try: commands_dic = {"reset":"reset what", "reset board":"board fault", "board add":"where to add", "board delete":"no board at all", ...