Przeglądaj źródła

print output in a single object

David 9 lat temu
rodzic
commit
024a9eba7c
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      tati.py

+ 3 - 1
tati.py

@@ -85,5 +85,7 @@ if __name__ == '__main__':
     av.join()
     al.join()
 
+    out = {}
     while not q.empty():
-        print(q.get())
+        out.update(q.get())
+    print(out)