rupole at compaq.net
Mon Sep 11 07:09:51 CEST 2000
You can use py_compile.compile('xxxx.py') to check for syntax errors.
<s_gherman at yahoo.com> wrote in message news:8phlrn$4iu$1 at nnrp1.deja.com...
> Is there any tool out there that would perform a "syntax-checking" on a
> Python source code?
> Or, even more, to _simulate_ running and type-binding errors, etc (as
> compiler does for C, for instance)?
> I am not sure to what extent Python's dynamic type nature allows that,
> but I imagine there are some applications where one may not affors to
> half-run them just to find mistakes in the middle of his source code.
> Thanks in advance,
> Sorin Gherman
> Sent via Deja.com http://www.deja.com/
> Before you buy.
More information about the Python-list