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_tuple in py_dict.items(): # Each 2-tuple is of type "PythonObject" print(py_tuple[0], py_tuple[1])