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\
Works and is simpler than every other solution I see here :
Pump().getPumps()
This is great if you don't need to reuse a class instance. Tested on Python 3.7.3.