Can you please help me with my script.
I came here from youtube video. So thanks a lot for such informative videos.
Although I had bit of a complex issue so a little help will be highly appreciated.
So, my Script logs into multiple devices, takes output, processes it with regex to find the important data fields and then writes those data fields in a csv-file. I want to make it faster by using multiprocessing or multithreading.
I tried Multiprocessing but I keep getting this error. <Some other error: encoding with 'idna' codec failed (UnicodeError: label empty or too long)while accessing device with ip: 7.7.7.1>
My original script can be found here(without any MProrMTh): https://github.com/amitbeniwal48/Multi-processing-threading/blob/master/MY-ORIGINAL-SCRIPT.py
My Script where I tried Multiprocessing can be found here(with MPr): https://github.com/amitbeniwal48/Multi-processing-threading/blob/master/MULTIPROCESSING-EXPERIMENT1.py