How to test if a module exists?

Roy Smith roy at
Sun Nov 7 03:34:28 CET 2010

In article <mailman.710.1289095058.2218.python-list at>,
 Jon Dufresne <jon.dufresne at> wrote:

> I went ahead and implemented this and it now works. I even uncovered a
> bug I wasn't previously seeing because now the program was failing
> early! :)

Excellent.  Fail early and often, that's what I say.

More information about the Python-list mailing list