Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

print(os.listdir(nltk.data.find(“corpora”))) giving error IndexError: list index out of range

    # Identify the package (i.e. the .zip file) to download.
--> resource_zipname = resource_name.split('/')[1]
    if resource_zipname.endswith('.zip'):
    resource_zipname = resource_zipname.rpartition('.')[0]

print(os.listdir(nltk.data.find("corpora"))) giving error IndexError: list index out of range

Comments