Apr-27-2022, 12:37 AM
(Apr-26-2022, 05:12 PM)deanhystad Wrote: It looks like "get_file_name()" is a method of a QWidget or QMainWindow subclass, not a standalone function. I think it was meant to be used like this:
class MyWindow(Qwidget): ... def get_file_name(self): ... window = MyWindow() window.get_file_name()Python converts "window.get_file_name()" into "MyWindow.get_file_name(window)".
see my new reply , see if you got some thouoghts on it