1. mimetypes is not a reliable way to know the mime type of a file. 2. python-magic uses libmagic which identifies file types by checking their headers according to a predefined list of file types. https://github.com/ahupp/python-magic |
||
|---|---|---|
| .. | ||
| ext_utils | ||
| mirror_utils | ||
| telegram_helper | ||
| __init__.py | ||