How to test if a module exists?

Roy Smith roy at panix.com
Sat Nov 6 22:34:28 EDT 2010


In article <mailman.710.1289095058.2218.python-list at python.org>,
 Jon Dufresne <jon.dufresne at gmail.com> 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