Esempio n. 1
0
def pull_sets(batch):

    counter = 0

    for set_id, seo_title in batch:
        
        polyvore.create_set_file(set_id, seo_title)
        print "file %d created" % counter
        time.sleep(1)
        counter += 1
def pull_sets(batch):

    for set_id, seo_title in batch:
        
        polyvore.create_set_file(set_id, seo_title)