[Tutor] FileDialogBox in Tkinter

Alan Gauld alan.gauld at freenet.co.uk
Tue Jun 6 09:49:05 CEST 2006


> What to do in order to get FileDialogBox in Tkinter for using? 

>>> import tkFileDialog
>>> res = tkFileDialog.asksaveasfilename(defaultextension=".txt")

Does that help?

> Where to find a complete reference of Tkinter?

I assume you have checked the Tkinter section of the Python 
web site? It points at several resources.

Fred Lundh's site is the best online resource I think.
The most complete resource is Grayson's Book on Tkinter
published by Manning.

Alan G



More information about the Tutor mailing list