import module from string.
Only available for Python >= 2.7 or 3.x