from tkinter import filedialog filedialog.asksaveasfilename() filedialog.asksaveasfile() filedialog.askopenfilename() filedialog.askopenfile() filedialog.askdirectory() filedialog.askopenfilenames() filedialog.askopenfiles()