On Mon, Oct 19, 2009 at 02:39:44PM -0700, Jonah wrote:
> Hi Nicolas, actually I just tried that and pylint fails!
> 
> unix> python -W ignore pylint
> /usr/local/bin/python: can't find '__main__.py' in 'pylint'
> unix> python --version
> Python 2.6

'python modulename' will only work if modulename is in your path and
there is a __main__.py in the module.

There is no pylint/__main__.py.

But 'python -W ignore full/path/to/pylint/binary' will work.

-- 
Nicolas Chauvat

logilab.fr - services en informatique scientifique et gestion de connaissances  
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to