python中无法导入

vs code中导入其他的.py文件一直无法成功,一直报错,求指教
PS D:\Python\Python code\test> & C:/python/python.exe "d:/Python/Python code/test/B/run.py"
['d:\Python\Python code\test\B', 'C:\python\python38.zip', 'C:\python\DLLs', 'C:\python\lib', 'C:\python', 'C:\Users\Administrator\AppData\Roaming\Python\Python38\site-packages', 'C:\python\lib\site-packages', 'D:\Python\Python code\test', 'D:\Python\Python code\test\A', 'D:\Python\Python code\test\B\run.py']
Traceback (most recent call last):
File "d:/Python/Python code/test/B/run.py", line 6, in
import A
ModuleNotFoundError: No module named 'A'

import sys
sys.path.append('D:\Python\Python code\test') 
sys.path.append('D:\Python\Python code\test\A') 
sys.path.append('D:\Python\Python code\test\B\run.py') 
print(sys.path)
import A

你要直接用import 要把A和你的主程序在同一个文件夹