Pychecker under Windows

John Roth newsgroups at jhrothjr.com
Wed Nov 26 07:22:48 EST 2003


"Steve Holden" <sholden at holdenweb.com> wrote in message
news:iEXwb.1475$US3.586 at okepread03...
> "Kylotan" <kylotan at hotmail.com> wrote ...
> > Is there a practical way to use Pychecker in Windows? It doesn't work
> > under IDLE. (In fact, it seems to end up breaking everything, and
> > every subsequent statement and expression I execute gets ignored.)
> > Running it from the Python interpreter in DOS means everything scrolls
> > off the screen. Ideally I'd like to redirect it to a file, or be able
> > to use it in IDLE.
> >
>
> 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").

Alternatively, if you're running under an NT derivative, use the .cmd
command interpreter rather than the .bat command interpreter. Then
you get that nice scroll bar so you can see what scrolled off. Works
great on XP at least.

John Roth
>
> regards
> --
> Steve Holden                                  http://www.holdenweb.com/
> Python Web Programming                 http://pydish.holdenweb.com/pwp/
> "I'd spoll my own name wring if I didn't have a spilling chocker"
>
>
>
>






More information about the Python-list mailing list