On 10/9/2022 1:29 PM, Peter J. Holzer wrote:
> On 2022-10-09 12:59:09 -0400, Thomas Passin wrote:
>> https://stackoverflow.com/questions/4284313/how-can-i-check-the-syntax-of-python-script-without-executing-it
>>
>> People seemed especially enthusiastic about the one-liner from jmd_dk.
>
> I don't think that one-liner solves Antoon's requirement of continuing
> after an error. It uses just the normal python parser so it has exactly
> the same limitations.

Yes, of course. Interesting, though. py_compile tends to be what I use for a quick check. I linked to the page mostly for the other possibilities, as you mentioned below:

> Some of the mentioned tools may do what Antoon wants, though.
>
>          hp
>
>

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to