Very clear explained. Thank you for sharing your expertise.
@96Ash693 жыл бұрын
very helpful
@ivanweiss40163 жыл бұрын
thanks so much i had a problem in a code that had to do something like this create a variable (var_1) that would be 1 of a list of complex variables ) or could be 1 class from a list of dataclasses i needed to load data in to a variable but the variable is defined only in execution and this works code = "variable_1 = " + complex_record_variable.__doc__.split('(')[0] + "()" exec(code) thanks