Hi,

can anyone give me a short code snippet how to install a missing 
module via setuptools (assuming setuptools is already installed)?!

Something like this:

try:
    import missing_module
except import_error
    import setuptools
    setuptools.whatever.install(missing_module)

Thorsten

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to