import wget
import os

path = os.path.dirname(__file__)
number_to_download = 25
count = 1

while count < number_to_download:
    count += 1
    try:
        print("\nDowloading file: " + "https://www.gutenberg.org/files/" + str(count) + "/" + str(count) + ".txt")
        print("To: " + path)
        wget.download("https://www.gutenberg.org/files/" + str(count) + "/" + str(count) + ".txt", path)
        print("\n")
    except:
        print("*** File does not exist ***")
8a23d09378d45e5df9ad5a78774386be817d9599
<mask token>

<mask token>
while count < number_to_download:
    count += 1
    try:
        print('\nDowloading file: ' + 'https://www.gutenberg.org/files/' +
            str(count) + '/' + str(count) + '.txt')
        print('To: ' + path)
        wget.download('https://www.gutenberg.org/files/' + str(count) + '/' +
            str(count) + '.txt', path)
        print('\n')
    except:
        print('*** File does not exist ***')

<mask token>
path = os.path.dirname(__file__)
number_to_download = 25
count = 1
while count < number_to_download:
    count += 1
    try:
        print('\nDowloading file: ' + 'https://www.gutenberg.org/files/' +
            str(count) + '/' + str(count) + '.txt')
        print('To: ' + path)
        wget.download('https://www.gutenberg.org/files/' + str(count) + '/' +
            str(count) + '.txt', path)
        print('\n')
    except:
        print('*** File does not exist ***')

import wget
import os
path = os.path.dirname(__file__)
number_to_download = 25
count = 1
while count < number_to_download:
    count += 1
    try:
        print('\nDowloading file: ' + 'https://www.gutenberg.org/files/' +
            str(count) + '/' + str(count) + '.txt')
        print('To: ' + path)
        wget.download('https://www.gutenberg.org/files/' + str(count) + '/' +
            str(count) + '.txt', path)
        print('\n')
    except:
        print('*** File does not exist ***')

import wget
import os

path = os.path.dirname(__file__)
number_to_download = 25
count = 1

while count < number_to_download:
    count += 1
    try:
        print("\nDowloading file: " + "https://www.gutenberg.org/files/" + str(count) + "/" + str(count) + ".txt")
        print("To: " + path)
        wget.download("https://www.gutenberg.org/files/" + str(count) + "/" + str(count) + ".txt", path)
        print("\n")
    except:
        print("*** File does not exist ***")