Hi, if you want to import module dynamically, you can use __import__ .. always remember modules are objects ..
mStr="sys" mod=__import__(mStr) # Now u can use mod.version .. but cant specify the attribute using other variable, like u did mod.version should read it http://diveintopython.org/functional_programming/dynamic_import.html -- http://mail.python.org/mailman/listinfo/python-list