Seems simple, yet elusive, want to build a dict from input of [key,value] pairs separated by a space using just one Python statement. This is what I have so far:
Assuming you have the text in variable s:
s
dict(map(lambda l: l.split(), s.splitlines()))