Syntax checking python...

John Roth johnroth at ameritech.net
Fri Jan 31 18:48:01 EST 2003


"Afanasiy" <abelikov72 at hotmail.com> wrote in message
news:jpsl3vcbb4tlv97l7bi2319238hkl3rdol at 4ax.com...
>
> In other languages, I can receive syntax errors without the script
having
> to execute. Please do not let this hurt your feelings. I merely bring
up
> the other languages as an example of what I mean and what I am used
to.
>
> In Python, I will not receive a syntax error until the interpreter
runs
> right into it. This is not very efficient for me during my
development.

As far as development efficiency, I proceed in very small increments,
and generally write unit tests for everything as I go along. This
flushes
out syntax errors rapidly. With this style of programming, I don't find
the lack of a separate syntax checker to be significant; in fact I
wouldn't
use it if it was present because it would slow me down.

> Is there a way I can be notified of my typos without having to run the
> interpreter up to those mistakes? That is my question. No smartasses.

John Roth






More information about the Python-list mailing list