I am new to python and have hit a wall. I followed several tutorials but cant get past the error:
Traceback (most recent call last): File \"C:\\Users\\Dom\
You need to instantiate a class instance here.
Use
p = Pump() p.getPumps()
Small example -
>>> class TestClass: def __init__(self): print("in init") def testFunc(self): print("in Test Func") >>> testInstance = TestClass() in init >>> testInstance.testFunc() in Test Func