Created
May 21, 2013 01:14
-
-
Save yuuichi-fujioka/5616898 to your computer and use it in GitHub Desktop.
import module from string.
Only available for Python >= 2.7 or 3.x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import importlib | |
m = importlib.import_module('foo.bar') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment