Roman Suzi wrote: > Second, Linux has 'file' command which tells you file type based on > content and knows tonns of formats. How would I use this from within Python to more accurately identify a file?