Tag Archives: ‘module’ object is not callable

Typeerror: ‘module’ object is not callable

This error means that the module is called as a function, but it itself cannot be called.
The problem arises because of the import mechanism.
There are two ways to import modules into Python: Import Module and From Module Import. The difference is that the former requires the module name to be used, while the latter does not.
Try again using the following import mode, with high probability, the problem will be solved.

from module import *

reference

    on the road, WWBhuzhenwei Sprite Fsky

.
.
2019-03-19 12:57:15 written in Shanghai