摘要: module not found error, how python interpreter find modules: The directory from which the input script was run, or the current directory if the interp 阅读全文
posted @ 2021-06-29 17:00 略略略—— 阅读(1188) 评论(0) 推荐(0) 编辑
摘要: import a_module print(a_module.__file__) however: AttributeError: 'module' object has no attribute '__file__' import inspect inspect.getfile(module) s 阅读全文
posted @ 2021-06-29 14:36 略略略—— 阅读(500) 评论(0) 推荐(0) 编辑