"file" like command in python (see man 4 magic) download

Thomas Mangin thomas.mangin at free.fr
Tue Jun 4 10:14:23 CEST 2002


> 1. initialize replace with None
> 
> > if replace:
> 
> use this instead:
>   if replace is not None:
> 
> and have fun progamming python!
> chris

It was the source of the problem. Feel free to download the code (GPL)
if you need it at ftp://www.slhan.org/source/magic.tar.gz

Thomas



More information about the Python-list mailing list