from std.python import Python def main() raises: # Create a mixed-type Python dictionary var py_dict = Python.evaluate("{'a': 1, 'b': 2.71828, 'c': 'sushi'}") for py_key in py_dict: # Each key is of type "PythonObject" print(py_key, py_dict[py_key])