在同一个文件夹下调用函数:A.py文件:def add(x,y): print('和为:%d'%(x+y))B.py文件:import AA.add(1,2)或from A import addadd(1,2)调用类:A.py ...
確定! 回上一頁