已经设置了global全局变量还是出现了未定义问题,大神们指教
用from[ ] import a
import xx 然后使用xx.a或者 from xx import a 然后使用a
from[ ] import a
可以使用from 你的函数所在文件 import 你的函数名