I want to input two files with same name but different extension by doing the input of just one:
tkMessageBox.showinfo(title="Info",message="Please input both the .rwh file")
# the filetype mask (default is all files)
mask = \
[("files","*.rwh"),
("All files","*.*")]
title = 'Open'
files = askopenfilenames(initialdir=self.initial_dir, filetypes=mask,title=title)
Then the part that I do not how to do. It has to create a file object by reading the file input and then by reading the name create another one with same name but different extension (.row).
Afterwards I call a function which uses both files object.
The files have different extension because they contain different information, both files are in the same folder.