I am using a dialog to get a filename path. I have managed to get it running and saving it to a local variable but Qt does not return the file path written in the pythonic way.
My cood is simple as that:
u = str( QtGui.QFileDialog.getOpenFileName())
but it returns me something like this:
C:/Artur/PC/Trabalho Darlan/
instead
C:\Artur\PC\Trabalho Darlan\
I have tried to replace / for \ with no success. What should I do?