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

Terry Reedy tjreedy at udel.edu
Wed May 17 03:14:15 EDT 2017


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




More information about the Python-list mailing list