Python报错类型为:AttributeError: 'Namespace' object has no attribute '属性名' 解决方案:添加 parser.add_argument(“–属性名”, type=bool, default=False)