Explorar el Código

print output in a single object

David hace 9 años
padre
commit
024a9eba7c
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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)