Compare commits
No commits in common. "77490bae605551f76500e8167faa7ea0d67d91cf" and "0a17d98781f6fea2928e05881da12ecfaa286281" have entirely different histories.
77490bae60
...
0a17d98781
@ -18,12 +18,4 @@ try:
|
|||||||
consumer.close()
|
consumer.close()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
consumer.close()
|
consumer.close()
|
||||||
dt = {}
|
print(DATETIMES)
|
||||||
for datetime in DATETIMES:
|
|
||||||
dts = datetime.strftime("%m/%d/%Y, %H:%M:%S")
|
|
||||||
if dts not in dt:
|
|
||||||
dt[strftime("%m/%d/%Y, %H:%M:%S")] = 1
|
|
||||||
else:
|
|
||||||
dt[strftime("%m/%d/%Y, %H:%M:%S")] +=1
|
|
||||||
for key, value in dt:
|
|
||||||
print(key,",",value)
|
|
||||||
|
@ -24,12 +24,4 @@ try:
|
|||||||
channel.start_consuming()
|
channel.start_consuming()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
connection.close()
|
connection.close()
|
||||||
dt = {}
|
print(DATETIMES)
|
||||||
for datetime in DATETIMES:
|
|
||||||
dts = datetime.strftime("%m/%d/%Y, %H:%M:%S")
|
|
||||||
if dts not in dt:
|
|
||||||
dt[strftime("%m/%d/%Y, %H:%M:%S")] = 1
|
|
||||||
else:
|
|
||||||
dt[strftime("%m/%d/%Y, %H:%M:%S")] +=1
|
|
||||||
for key, value in dt:
|
|
||||||
print(key,",",value)
|
|
||||||
|
@ -18,12 +18,4 @@ try:
|
|||||||
DATETIMES.append(datetime.now())
|
DATETIMES.append(datetime.now())
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
socket.close()
|
socket.close()
|
||||||
dt = {}
|
print(DATETIMES)
|
||||||
for datetime in DATETIMES:
|
|
||||||
dts = datetime.strftime("%m/%d/%Y, %H:%M:%S")
|
|
||||||
if dts not in dt:
|
|
||||||
dt[strftime("%m/%d/%Y, %H:%M:%S")] = 1
|
|
||||||
else:
|
|
||||||
dt[strftime("%m/%d/%Y, %H:%M:%S")] +=1
|
|
||||||
for key, value in dt:
|
|
||||||
print(key,",",value)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user