[Python-projects] PyLint Bat Files

Michael Foord michael.foord at resolversystems.com
Wed Jun 28 12:07:22 CEST 2006


Hello all,

On Windows installing PyLint creates a 'pylint.bat' file to launch it.

Inside this has :

    C:\Python24\python.exe -x %~f0  %*

On my machine Python is installed into "C:\Program Files\Python24\".

PyLint correctly put the path to Python in the batch file (done 
automatically by the post install script). Because there are spaces in 
the path, it failed. It needed changing to :

    "C:\Program Files\Python24\python.exe" -x "%~f0"  %*

Note the *two* sets of quotes here. This change should do no harm for a 
normal install.

All the best,


Michael Foord
http://www.resolversystems.com
http://www.voidspace.org.uk/python/index.shtml


More information about the Python-Projects mailing list