Utilizei a função `replace` para substituir aspas simples por aspas duplas, mas na saída o valor sai com caractere de escape \: codigo: txt_situ_mens = linha_csv[11].replace("'",'"') Origem: {'delivered': '2018-09-15 00:35:00+0000', 'read': '2018-09-15 00:35:00+0000', 'received': '2018-09-15 00:33:43+0000'} Saida: {\"delivered\": \"2018-09-15 00:35:00+0000\", \"read\": \"2018-09-15 00:35:00+0000\", \"received\": \"2018-09-15 00:33:43+0000\"}