pychecker checks files by executing them ??

Axel Kowald kowald at
Wed Jun 4 10:07:29 CEST 2003


Thomas Heller wrote:

>pychecker imports them, not executes them. Protect the main function or
>what it is in your case by the usual 'if __name__ == "__main__":' idiom
>(which you should do anyway IMO), and you are fine.

Of course. That's it.

Many thanks.


More information about the Python-list mailing list