Ejemplo 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
Ejemplo n.º 2
0
def pull_sets(batch):

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