import module from text.
in 2.7 , 3.1 and later