[Tutor] Available filetypes for AskSaveasfilenam in Tkinter?
John Fouhy
john at fouhy.net
Fri Jan 23 02:53:29 CET 2009
2009/1/23 Wayne Watson <sierra_mtnview at sbcglobal.net>:
> And if I pass it, 'pcx', 'fits', 'dog', 'cat', ...?
I don't understand your question. You can certainly do this:
tkFileDialog.asksaveasfilename(filetypes=[('PCX files', '*.pcx'),
('FITS files', '*.fits'), ('Dogs', '*.dog')])
If that's not what you want, you need to explain yourself better..
--
John.
More information about the Tutor
mailing list