TypeError: 'module' object is not callable
1、test是模块, class test是类

3、模块test里的test类是可以实例化的

5、或者用form 包名.模块名 import 类名的方式导入

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:30
阅读量:94
阅读量:46
阅读量:24
阅读量:90