Respuesta :

asksaveasfilename and askopenfilename

askopenfilename prompts the user to open a file, and asksaveasfilename prompts the user to save a file. These functions return a string representing the filepath chosen by the user.

Both functions take several optional arguments, such as the initial directory to start in, the filetypes that can be selected, etc. Refer to the documentation for more details.

Using these functions, you can add file access support to your GUI program. This can be useful for tasks such as opening and saving text files, images, etc.

Learn more here:

https://brainly.com/question/14926557

#SPJ4