André wrote: > I should have added: I'm interesting in validating the file *content* > - not the filename :-)
Some formats have identifying headers... I think jpeg is an example of this. Open it with a hex editor or just read the first few bytes and see for yourself. Brad -- http://mail.python.org/mailman/listinfo/python-list