windows bat file question

Tim Roberts timr at
Thu Mar 3 06:33:29 CET 2005

Tom Willis <tom.willis at> wrote:

>I'm trying to get pylint running on windows and the bat file for it
>seems a little screwy. I'm hoping someone may have figured this out
>rem = """-*-Python-*- script
>@echo off
>rem -------------------- DOS section --------------------
>rem You could set PYTHONPATH or TK environment variables here
>python %*

This should make it work:
  python %0.bat %*

>goto exit
># -------------------- Python section --------------------
>import sys
>from logilab.pylint import lint
>DosExitLabel = """
>rem """
- Tim Roberts, timr at
  Providenza & Boekelheide, Inc.

More information about the Python-list mailing list