(1)import 模块模块.变量名(2)from 模块 import 变量名,这样可以直接使用不过不太应用后面的那种,可能会出现重名的变量,无法分辨.
调用B中get_a():global aa=2return a