COLOR CHOOSER # COLOR CHOOSER from tkinter import colorchooser color = colorchooser.askcolor() ******************************************************************************** STANDARD DIALOG WINDOWS: the "messagebox" class has methods that allow you to throw up standard dialog boxes for informational, warning, or error messages, as well as standard OK/Cancel or Yes/No dialogs. messagebox.showwarning("Invalid Move", "I'm sorry, that move is not valid!") Other method names: showinfo, showwarning, showerror, askquestion, askokcancel, askyesno, or askretrycancel messagebox.function(title, message [, options]) You can use pre-built dialogs to show messages or ask simple questions: messagebox.showwarning("Invalid Move", "I'm sorry, that move is not valid!") result = messagebox.askyesno("Continue?", "Do you wish to delete this document?") Look at other pre-built dialogs such as: showinfo, showwarning, showerror, askquestion, askokcancel, askyesno, or askretrycancel *************************************************************************************** FILE and DIRECTORY CHOOSERS A file dialog is built into tkinter: from tkinter import * # FILE CHOOSER from tkinter import * # Hide the main tk window, just show the dialog... root = Tk() root.withdraw() # Just show the file dialog! fileName = filedialog.askopenfilename() print(fileName) # FILE SAVE AS FILENAME DIALOG fully qualified path & filename <- filedialog.asksaveasfilename() # ASK DIRECTORY directory with path <- filedialog.askdirectory