[Answer]-Django – Permission denied to open media in production server (Azure)

1👍

Try handle = open(settings.MEDIA_ROOT + '/stopwords.txt', 'r+')

0👍

According to your tree stopwords is stored under /media/App/stopwords.txt
So to open it you need:

handle = open(settings.MEDIA_ROOT + '/App/stopwords.txt', 'r+')

Leave a comment