NameError: name 'commands' is not defined

来源:互联网 发布:网络诗选 编辑:程序博客网 时间:2024/04/29 03:55

python 运行时出现错误:

NameError: name 'commands' is not defined

原因没有导入命令 commands

解决方法:

import commands


0 0
原创粉丝点击