root_folder \ __ init__.py #empty file
root_folder \ A \ __ init__.py #emptyfile
ROOT_FOLDER \ A \ B.py
root_folder> python -m A.B.py
Correct Python output[everything runs ok until the last line] C:\Anaconda2\python.exe: No module named A.B.py
我的问题是&#34; python.exe:没有名为ABpy&#34;的模块,我不确定它是什么被触发,因为脚本正确执行以及如何读取它。< / p>