def pull_users(batch): list_to_pull = list_of_unique_fans(batch) for l in list_to_pull: polyvore.create_user_file(l) print "file created"
def pull_users(list_of_fan_names): counter = 0 for name in list_of_fan_names: polyvore.create_user_file(name) print "file %d created" % counter time.sleep(1) counter += 1