pychecker checks files by executing them ??

Axel Kowald kowald at molgen.mpg.de
Wed Jun 4 04:07:29 EDT 2003


Hi,

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.
>
>Thomas
>

Of course. That's it.

Many thanks.

                               Axel





More information about the Python-list mailing list