Skip to content

Instantly share code, notes, and snippets.

Created June 13, 2015 08:04
What would you like to do?
from pyquery import PyQuery as pq
from PyQt4 import QtCore
import multiprocessing
import time
data = (
['a', '2'],
def mp_worker((inputs, the_time)):
print "start URL"
e = pq("")
urls = [i for i in e.items('a')]
def mp_handler():
p = multiprocessing.Pool(2), data)
if __name__ == '__main__':
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment