i have code which can select multiple files and print their names. But i found that they are not in order in which i am selecting them. say for example if i have file name as file1,file2,file3and if i first select file2 then file3 then file1 while printing it is showing file1,file2,file3 in this order. the code i have written is like this
global desktop1
global filesnames1
file_name = QtGui.QFileDialog()
file = file_name.getOpenFileNames(self, "Select the file to add", desktop1,
"source File (*.MOV;*.MP4)")
filesnames1=list(file)
for i in filesnames1:
print i
please help how to achieve what i want.