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

Thomas Mangin thomas.mangin at free.fr
Tue Jun 4 04:14:23 EDT 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