I am using:
file = tkFileDialog.askopenfile(parent=root, mode= rb ,
filetypes=[( Subrip Subtitle File , *.srt )], title= Choose a subtitle file )
to get a file object specified by the user.
Is there any way I can get the absolute path of this file from the file object?