How to extract variable name and value from string in python,ast.literal_eval(ata.split('=')[1].strip())