Commit fcc1418b by Krishnan Sanjay

Update core.py

parent d4e2575b
Showing with 2 additions and 2 deletions
...@@ -8,7 +8,7 @@ import os ...@@ -8,7 +8,7 @@ import os
import json import json
def imdb_title_words(): def imdb_title_words():
f = open('title.csv','r') f = open('title.csv','r', errors='replace')
line = f.readline() line = f.readline()
while line != "": while line != "":
...@@ -22,7 +22,7 @@ def imdb_title_words(): ...@@ -22,7 +22,7 @@ def imdb_title_words():
f.close() f.close()
def imdb_years(): def imdb_years():
f = open('title.csv','r') f = open('title.csv','r', errors='replace')
line = f.readline() line = f.readline()
while line != "": while line != "":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment