Aug-11-2023, 05:02 PM
Man oh man..
im so confused, but getting thru this.. i had one incorrect line, but now works based on list of my ips. But i cant seen to add a if condition on the results so that i can capture the status in my output file.
How can i get access to the data returned by this *executor.map(ping, ips) so i can capture the ip, status in my output?
i tried assigning it to a variable, but didnt like that.
Based on my original code above, i need to capture the ip, status, date, time into a text file to update our spreadsheet.
If the timestamp is correct, i just ran your suggested code against 4000 ips and returned just under 1 minute.. THATS AMAZING!!!
now just need to write that results to a file so i can consume into excel.
im so confused, but getting thru this.. i had one incorrect line, but now works based on list of my ips. But i cant seen to add a if condition on the results so that i can capture the status in my output file.
How can i get access to the data returned by this *executor.map(ping, ips) so i can capture the ip, status in my output?
i tried assigning it to a variable, but didnt like that.
Based on my original code above, i need to capture the ip, status, date, time into a text file to update our spreadsheet.
If the timestamp is correct, i just ran your suggested code against 4000 ips and returned just under 1 minute.. THATS AMAZING!!!
now just need to write that results to a file so i can consume into excel.