Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
magic is a wrapper around the libmagic file identification library.

upstream: http://hupp.org/adam/hg/python-magic/

Distributed under the PSF License: http://www.python.org/psf/license/ 

See README for more information.

Usage:
(more...)

src/p/i/pida-0.6.2/pida/core/charfinder.py   pida(Download)
 
try:
    from pida.utils import magic
 
    WELL_KNOWN = ['ISO-8859', 'ASCII', 'UTF-8', 'UTF-16LE', 'UTF-16BE',