Hello, I have small problem using QFileDialog, for example:
filename = QtWidgets.QFileDialog.getOpenFileName(self,"Open File")
print(filename)
and lets say I open Tekst.txt file, I get this printed:
('/home/whatever/Tekst.txt', '')
but I would like to get only this '/home/whatever/Tekst.txt', I know I can fix it by removing ( ,") manually but I would like to avoid that.
Bookmarks