Why didn’t Python ship with the opposite functionality as well? Parsing instead of formatting. Given a string and a format string, return a list of variables (or a dictionary).
As far I understand the following:
print(f"your name is {name}")
is roughly equivalent to: print(f"your name is " + format(name))
What is there to parse?From: ckpt-8-0.300 To: epoch=8, val_loss=0.300