I have the following code:
tmpVariable = completeVariableName[filedsValueCounter];
tmpValue = fieldsValue[fieldsName[fieldsNameCounter]];
print eval ("'%s = \"%s\";' % (tmpVariable, tmpValue)");
Output of above code is :
self.name = "Peter"
Next line of eval function is :
print self.name
But It's output is :
None
Question: Where's my problem?