Jan-30-2018, 06:46 AM
Is it possible to import and instantiate class from the string variable, containing full class code? I only can think about saving code into temp file and importing this file using importlib.
Instantiating class from the string variable
|
|
Messages In This Thread |
Instantiating class from the string variable - by voltron - Jan-30-2018, 06:46 AM
RE: Instantiating class from the string variable - by Gribouillis - Jan-30-2018, 06:57 AM
RE: Instantiating class from the string variable - by voltron - Jan-30-2018, 09:07 AM
RE: Instantiating class from the string variable - by Gribouillis - Jan-30-2018, 09:20 AM
RE: Instantiating class from the string variable - by voltron - Feb-05-2018, 01:18 PM
|