Errno 13 Permission Denied when reading file in python

  nltk, python, readfile

my folder stemming contains 7 files and each file contains no. of document but my problem is permission denied.
I want to calculate the probability of each file which it is
probability of files = count of thatfile / number_of_docs

stemming = 'C:/Users/user/Desktop/Akhbarona'
with open(stemming, "r", encoding="utf-8") as auto:

Source: Python Questions

LEAVE A COMMENT