alteo_gange
Thu, 01 May 2008 05:45:35 -0700
Le jeudi 01 mai 2008, alteo_gange a écrit : > Hi, > > could you complete the next bit of code please? > > 1) File selection (the file's name is accented: ex. animé.txt) > file = QFileDialog.getOpenFileName(None, "Open"),".","All files (*.*)) > 2) Print file's name in a terminal > ??? > > It seems easy... too easy... print a.toUtf8() -> /home/login/animé.txt It's ok. It was tricky. -- alteo_gange _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt