testing for modules?

Ed Hotchkiss edhotchkiss at gmail.com
Mon Oct 24 17:56:01 EDT 2005


i have a generic script that is using several modules on windows and linux
boxes. i need to have the scripts test if a module is installed, and then if
not - then to install the module. can anyone give me a headsup on how to
test for a module, returning something to indicate whether or not it is
installed, then after that executing file to install the module.? just
somewhere to start would be helpful! thanks in advance.

--
edward hotchkiss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20051024/e9a4be3c/attachment.html>


More information about the Python-list mailing list