I have an application that reads multiple variable names from one block of an input file. Then it reads the associated values from another block of the same file.. e.g. variable names read in as ABC,DEF,GEF,etc and values read in as 1,2,3,etc. In Python, can I create those variables at run time, e.g. perform the following code.
ABC = 1
DEF = 2
GHI = 3
I am quite new to Python so forgive if this is a stupid question...