text = "AF_ESP=0.00546;AF_EXAC=0.00165;AF_TGP=0.00619"print( [x.split('=') for x in text.split(';')] )
Standard input is empty
[['AF_ESP', '0.00546'], ['AF_EXAC', '0.00165'], ['AF_TGP', '0.00619']]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!