[Python-Dev] ImportWarning flood (original) (raw)

Guido van Rossum guido at python.org
Thu Jun 22 04:45:58 CEST 2006


On 6/21/06, Ralf W. Grosse-Kunstleve <rwgk at yahoo.com> wrote:

I am getting tons of "ImportWarning: Not importing directory". See below for examples. It is impractical for me to reorganize our directory structure. I'd be busy for a week or more and people would probably scream at me because all the paths have changed. Are there other options to get rid of the warnings?

Check out the -W command line option and the warnings module. These document how to suppress warnings.

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list