If I have Main.py
import Test
test = Test()
test.test_func()
And Test.py
class Test:
def test_func(self):
print("success")
it throws an error 'module' object is not callable
I have spent hours trying to figure this out. If I put the class in Main.py I can get an instance of the class but I can't get it to work externally.