Beispiel #1
0
def twit_to_image(q, ti, counter):
    while (True):
        screen_name = q.get()
        content = ti.getting_pics(screen_name)
        generate_image(content, counter)
        print("Processing " + str(counter) + "thread")
        q.task_done()
Beispiel #2
0
def twit_to_image_no_key(q, counter):
    while (True):
        content = q.get()
        generate_image(content, counter)
        print("Processing" + str(counter) + "thread")
        q.task_done()