I am able to load my txt file using the line below on my local machine.
lines = open('movie_lines.txt', encoding = 'utf-8', errors = 'ignore').read().split('\n')
But this method is giving error on gcloud.
ScreenShot of the data file.
how to open this txt file on gcloud?
ERROR: TypeError: 'encoding' is an invalid keyword argument for this function
I am using google App Engine for this.