Пример #1
0
def download_cats(folder):
    cat = 8
    for i in range(1, cat + 1):
        name = 'lolcat_{}'.format(i)
        print ('Downloading cat ' + name)
        cat_service.get_cats(folder, name)
    print("Done")
Пример #2
0
def download_cats(folder):
    dog_count = 8
    for i in range(1, dog_count + 1):
        print('Downloading Lolcat {}'.format(i))
        name = 'lolcat {}'.format(i)
        cat_service.get_cats(folder, name)
    print('Done')
def download_cats(folder):
    print('Contacting server to download cats...')
    cat_count = 8
    for i in range(1, cat_count + 1):
        name = 'cat {}'.format(i)
        print('Downloading cat ' + name)
        cat_service.get_cats(folder, name)

    print('Done')
Пример #4
0
def download_cats(folder):
    cat_count = 8
    print('Contacting server to find cats...')

    for i in range(1, cat_count + 1):
        name = 'lolcat {}'.format(i)
        print('downloading cat - {}'.format(name))
        cat_service.get_cats(folder, name)

    print('done')
Пример #5
0
def download_cats(folder):
    cat_count = 8
    for i in range(1, cat_count + 1):
        name = "lolcat {}".format(i)
        print("Downloading {}.".format(name))
        cat_service.get_cats(folder, name)