osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Referring to a module by a string without using eval()


On 5/17/2017 2:04 AM, jeanbigboute at gmail.com wrote:

> Question: Is there a solution to this "turn a string into the module it represents" problem?

Built-in function __import__

-- 
Terry Jan Reedy