Pychecker under Windows

Peter Hansen peter at engcorp.com
Wed Nov 26 09:31:07 EST 2003


Kylotan wrote:
> 
> "Steve Holden" <sholden at holdenweb.com> wrote in message news:<iEXwb.1475$US3.586 at okepread03>...
> 
> > You can redirect python output to a file from the Windows command line. The
> > only caveat is for *some* command processors (NT in particular, IIRC) output
> > redirection only works if you explicitly call the python interpreter (i.e.
> > use the command "python prog.py > file.out") rather than implicitly call it
> > (i.e. use the command "prog.py > file.out").
> 
> Sadly, the way to use Pychecker on Windows involves indirect usage;
> you call it via a batch file on the command line. Redirecting that -
> at least on Win98 SE - doesn't work, instead creating an empty file
> and sending all output to stdout as normal.

Easy enough to solve.  Either type the same commands as the .bat file
contains directly on the command line, redirecting the output, or change
the .bat file (or make your own) which always redirects output to a
predetermined file, then just view the file after PyChecker runs.

-Peter




More information about the Python-list mailing list