AttributeError: 'Queue' object has no attribute 'join' in python 2.7.x

Viewed 4185
import multiprocessing
q = multiprocessing.Queue() 

def create_jobs():
    for link in file_to_set(QUEUE_FILE):
        q.put(link)
    q.join() **#here i'm getting Attribute Error**
    crawl()

(this is not whole snippet of code. but my function gives error only here.)

1 Answers
Related