How to check is a library/module is installed on the system? I use the
next code but it's possivle that there is a best way.

-------------------
try:
    import foo
    foo_loaded = True
except ImportError:
    foo_loaded = False
-------------------


Thanks in advance!
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to