Hi everyone,
I've got a huge nested dict from a yaml call
So how could I change ALL string that are nested / embedded within the
Thanks.
I've got a huge nested dict from a yaml call
with open('MyYamlFile.yml', 'r') as file: yml_test = yaml.safe_load(file)I would like to do ~a
yml_test.replace('wrong','right')But of course we can't call a .replace on a Dict... :/
So how could I change ALL string that are nested / embedded within the
yml_test
?Thanks.
![[Image: NfRQr9R.jpg]](https://i.imgur.com/NfRQr9R.jpg)