Basically I have a function which just gets X amount of (true) random numbers from pinging a web service online. However it is rather slow since it waits for one request to be finished before going to the next. How would I go about adding multithreading (or processes?) into it so multiple requests are being sent and printed at the same time. (The order of these is unimportant)
Does Python have the ability to do this? If so how?
Thank you