Load module, function from string
Project description
Load python module, or member of module from string.
Example Usage
from dynamic_load import dynamic_load dattime_module = dynamic_load("datetime") # Load datetime module dattime_module.datetime.now() time_function = dynamic_load("time.time") time_function()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dynamic_load-0.0.2.tar.gz
(2.4 kB
view hashes)