On Tue, Mar 18, 2008 at 09:18:05AM -0500, James Simmons wrote: > how can I tell what kind of file I am receiving when > someone shares a file with me? You might examine python's mimetypes module or the 'file' command. Michael