with open(filename, "r+b") as reviewfile:
with open('database_set.txt', "wb") as aprior:
reviewfile.write("\n \t \t \t \t \t" + titlelist[user_choice - 1])
reviewfile.write("\n \n \t \t \t \t \tAverage rating " +
str(avg_rating) + " based on " + str(total_no_ratings) + " ratings")
我正在尝试从网站检索产品评论,但它显示此错误。