正文python 报错——Python TypeError: 'module' object is not callable 原因分析IP云V管理员/2022-12-01/4 阅读 12/01提示:扫一扫查出行【扫一扫了解最新限行尾号】复制提示 原因分析: Python导入模块的方法有两种: import module 和 from module import 区别是前者所有导入的东西使用时需加上模块名的限定,而后者则不需要 例: >>>import pprint >>>pprint.pprint(people) OR >>>from pprint import * >>>pprint(people)