Aug-11-2023, 05:23 PM
I think i figured out how to get it into a output i can work with
changed the lines to this:
changed the lines to this:
park = file.readlines() #executor = ThreadPoolExecutor(4) with ThreadPoolExecutor(4) as executor: for result in executor.map(ping, park): print(result)But still cant get access to do a IF condition to check for the 0 or 1