Mar-27-2017, 04:30 PM
Well, that should be giving an error, since
But anyway, instantiate the class first:
self
is undefined. And even if it was defined, you never return anything from the function, so the result will always be None
.But anyway, instantiate the class first:
test = DataTest() data = test.testReadData() print(data)