在函数中修改全局变量的值,需要加global关键字

NoSuchKey

猜你喜欢

转载自www.cnblogs.com/guoby/p/9046834.html