On Mon, 11 Dec 2017 11:29 am, Chris Angelico wrote:

> On Mon, Dec 11, 2017 at 10:10 AM, Rick Johnson
> <rantingrickjohn...@gmail.com> wrote:

>> And it's not like we can just pick file up and shake
>> it, in a crude attempt to intuit the contents.
> 
> No, but fortunately we have magic. And magic can tell us a lot about
> what a file contains.
> 
> man 5 magic

https://pypi.python.org/pypi/python-magic



-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to