I have a test
folder
the structure within the folder
__init.py__
aa.py
test.py
for aa.py
class aa:def __init__(self,max):self.max=maxprint max+1def hello(self):print(max)
for test.py
import aa
abc = aa(100)
abc.hello()
when run test.py
, I have an error
abc = aa(100)
TypeError: 'module' object is not callable
What is the problem?