python - Pycharm reading ucs-2 -
i use python 2.7 on win 7 , read in ucs-2 file. if print out lines, nothing shown.
f = open('test.log', mode='r+') line in f: print(line)
how can display lines in pycharm console , how can change codec?
Comments
Post a Comment