文件层次:
--file_A
-----a.py
--file_B
-----b.py
在a.py中调用b.py
import sys sys.path.append(‘..’) import b
import sys
sys.path.append(‘..’)
import b