Joe Little wrote: > > Go one step further and use the try:except: with a variable.. ie, under some > condition (such as a no_openldap def), do the try:except:.. otherwise, > normal import You mean a variable in the module's name space? Hmm, that would have to be set by the installing routine, DistUtils in our case. Ciao, Michael.