TypeError: 'module' object isn't callable code example
Example: python 'module' object is not callable
# YourClass.py
class YourClass:
#-----------------
from YourClass import YourClass
# YourClass.py
class YourClass:
#-----------------
from YourClass import YourClass