python class module object is not 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