python中同文件夹下import调用报错no model
模块不是直接import的,你直接写你要调用的函数或者类,然后alt+enter,它会自动拼写导入的语句
第一种方法 导入,__init__文件,通过init文件将文件转换为python中地模块 from . import test_02 第二种方法 import code.test_02