python-magic icon indicating copy to clipboard operation
python-magic copied to clipboard

A python wrapper for libmagic

Results 62 python-magic issues
Sort by recently updated
recently updated
newest added

I tried `python -m magic a_test_file` but it failed.

On a Linux/Ubuntu platform, if _file_ is a symbolic link, `magic.from_file(`_file_`)` will throw a FileNotFoundError, instead of detecting that _file_ is a link (inode/symlink). So far, the only workaround I...