Skip to content

Open File Dialogue #360

Answered by ptstevens
ptstevens asked this question in Q&A
Aug 6, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

I have managed to work this out using
def button_output(self): self.entry_output.delete(0, 'end') file_name = fd.askopenfilename() filename = os.path.basename(str(file_name)) self.entry_output.insert(0, str(filename)) pass

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ptstevens
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ptstevens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants