file = tkFileDialog.askopenfile(parent=root,mode='rb',filetypes=[('Subrip Subtitle File','*.srt')],title='Choose a subtitle file')abs_path = os.path.abspath(file.name)
os.path.abspath should do what you want, if I understand your question correctly.
os.path.abspath