2009/1/23 Wayne Watson <sierra_mtnv...@sbcglobal.net>: > What I'm getting at it is when I see something in a program as: > path = asksaveasfilename(defaultextension=".jpg", > title="Save as JPEG", > initialfile=default_path, > filetypes=IMAGE_FILE_TYPES) > > I'm guessing when the program executes this, it's really saves a file in the > jpg format. [...]
All asksaveasfilename does is give you a filename/path. You then have to open the file and write the data to it. It's up to you to make sure the data is in the right format.. -- John. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor