] > Pylint bat needs 0D0A (Logilab.org)

Email Pylint bat needs 0D0A

to
Sylvain Thenault <syt at logilab dot fr>
subject
Pylint bat needs 0D0A
date
2003/10/13 10:46
hi, been trying off & on for a while to
get some sensible output from pylint.
previously there was no bat file,
another time I tryed to download a newer
version and the gz archive wansn't there.
this latest release the bat file
has unix line endings (0x0A) instead of
windows (0x0D0A), which means it won't work
on most if not all windows versions.
Im using win98 and activex python 2.2.2
 
python %0.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
that should be %0 otherwise I get error
cant open pylint.bat.bat
 
since from a dos window there is little scroll
back support it would be convienent to
redirect to a report file then display the
report file. I would commonly run pylint or
pychecker from an icon on my filemanager
wincomander.
 
so I have made this change
python %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 >%TEMP%/plrep.txt
rem this opens the txt file before exiting.
notepad %TEMP%/plrep.txt
 
 
trying to get custom config file
--generate-rcfile gives me a file
creation error. I have HOME set in
autoexec.bat and works for other progms.
will have to examine it further, maybe
pylint is not using os.normailize or something
and expects ~/.rcfile to work like on nix?
 
 
thank you for all the source.
I am especially amazed by constraint.
there doesnt seem to be enough code there
to do what it does! I still have alot to learn.
 
e

has reply