python main函数中变量默认为global variable

NoSuchKey