(1) A文件夹里面的B.py:From A import B
(2) A文件夹里面的B文件的C类:
方法1:From A.B import C
方法2:
import sys sys.path.append(‘A’)
From B import C