[Tutor] testing for modules?

Ed Hotchkiss edhotchkiss at gmail.com
Mon Oct 24 23:56:01 CEST 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/tutor/attachments/20051024/e9a4be3c/attachment.htm


More information about the Tutor mailing list