部分转自:https://www.cnblogs.com/hellofengying/p/10183057.html 今天再打开文件名时,出现了错误,如下: In []: path='D:\Code\PythonWorkPlace\PythonProject\pydata-book-2nd-edition\data sets\bitly_usagov\example.txt' In []: open(path).readline() -------------------------------…