Steve Howell <[EMAIL PROTECTED]> wrote: > > --- Jeremy C B Nicoll <[EMAIL PROTECTED]> wrote:
> > What command (in XP) does one need to issue to > > syntax check a saved python > > script without running it? > > Perhaps oversimplifying a bit, running "python" does a > syntax check, and if it passes, moves on the next > steps of interpretation/execution. Ah, I've been using IDLE so far (but would probably prefer to write Python in my normal text editor). In IDLE Alt-X syntax checks the saved copy of the file being edited (at least it seems to), and I was wondering how to replicate that elsewhere. > > Does a syntax check report all syntax errors or just > > the first one found? > > Just the first one. In practice, you end up fixing > them one at a time anyway, so this works for me, as > long as I have a fluid way to call out to python and > return to the editor. Yes, I suppose so. -- Jeremy C B Nicoll - my opinions are my own. -- http://mail.python.org/mailman/listinfo/python-list