Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1-liner re make the work looks professional solution in Creative category for YAML. Simple Dict by Stensen
import re
yaml = lambda a: dict(zip(re.findall(r'(^.+):', a, re.M), [int(i) if i.isdigit() else i for i in re.findall(r': (.+$)', a, re.M)]))
Sept. 22, 2020
Comments: