@ 191120.2 · fetching

190724.8 · c48adaaff427ca7fd6cc09114322eacff942a7ff

Create Start_and_End_Time_for_Code

reading declarations

Start_and_End_Time_for_Code

new file mode 100644@@ -0,0 +1,16 @@+from datetime import datetime++start_time = datetime.now() ++### ADD LOOP +for a_device in all_devices:+    net_connect = ConnectHandler(**a_device)+    output = net_connect.send_command("show arp") +    print(f"\n\n--------- Device {a_device['device_type']} ---------")+    print(output)+    print("--------- End ---------") ++end_time = datetime.now()+total_time = end_time - start_time ++print(total_time)