Avell Diroll wrote:
> Une autre méthode (sous *nix) est de faire appel à l'utilitaire "file"
> qui vérifie les premiers "magic bits" d'un fichier censés décrire son
> contenu ... je ne sais pas si un module python reprend les
> fonctionnalités de file ...
http://packages.debian.org/unstable/python/python-magic
http://www.darwinsys.com/file/
Et même une implémentation en pur python ..?
http://www.demonseed.net/~jp/code/magic.py
....
Ju
--
I never let my schooling interfere with my education.
- Mark Twain