(Apr-27-2022, 05:50 AM)ndc85430 Wrote: What is the problem exactly? What is happening? Saying something "doesn't work" isn't helpful. What does "doesn't work" actually mean for this problem? Tell us what happens and what you expect to happen.
my question is this
shoud i use this
conn = sqlite3.connect(get_file_name())or this
conn = sqlite3.connect(self.get_file_name)or this
def get_file_name(self): fname = QFileDialog.getOpenFileName() fname2 = fname[0] self.fname3 = '"' + fname2 + '"' def sqlite_connect(self): conn = sqlite3.connect(self.fname3)or semething else?