然后在import IServer_A,在IServer_A.py中,import IServer后,在from CreatFactory import GLOBAL_class_dic打印出可使用的函數(shù)和變量時(shí),['IServer', '__builtins__', '__doc__', '__file__', '__name__', '__package__', 'serverType'],就沒有GLOBAL_class_dic,程序發(fā)現(xiàn)沒有,就又重新聲明了一遍...
www.dbjr.com.cn/article/1231...htm 2025-5-23