Jan-19-2021, 09:12 PM
Why could a code that I wrote, runs perfectly as let's say mycode.py file, and when I make this code a function, let's say
the class is like this:
def myfunction(self): . . .and run it inside a class, as self.myfunction() it does not run correctly? It does not even read/get the data from the excel file.
the class is like this:
class MyClass(qt.QMainWindow): def __init__(self, parent = None): . . . self.myfunction() def myfunction(self): . . .Thanks...