What is the proper way to format dict keys in string?
When I do this:
>>> foo = {\'one key\': \'one value\', \'second key\': \'second value\
"In the middle of a string: {}".format(list(foo.keys()))