2009/1/23 Wayne Watson <sierra_mtnv...@sbcglobal.net>:
> How do I know what file types are available for asksaveasfilename? Suppose
> one isn't available, for example, FITS. How do I get it?

You pass the file types as an argument to the function.

tkFileDialog.asksaveasfilename(filetypes=[('Text', '*.txt'), ('Stuff',
'*.stf'), ('Et cetera', '*.etc')])

http://www.pythonware.com/library/tkinter/introduction/x1164-data-entry.htm

-- 
John.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to