I’m trying to create a python script that will allow me to load up multiple connections similar to having multiple tabs open on a browser, more explicitly I have a code like this:
https://github.com/eWizardII/SOC357-Twitter-Facebook-Project/blob/master/chuck.py
Using urlv, etc, I load up multiple connections to the API, however I want to make it so that I call all 5 at the same time instead of in succession. I have looked into things like twisted and tidy, but I don’t know how to use them to help me.
Thanks,
Solomon
You can create HttpHandlers to handle asynchronous http requests (asynchronous as far as your code is concerned, not when it comes to actual network operations).
Try this: