AttributeError: '_csv.reader' object has no attribute 'next'


本机编译环境py3.5

 

原码:

 

报错:AttributeError: '_csv.reader' object has no attribute 'next'

 

参考:http://www.cnblogs.com/buzhizhitong/p/5691405.html

 

 

 

 

依旧报错: iterator should return strings, not bytes (did you open the file in text mode?)

 

参考:http://www.cnblogs.com/iamxyq/p/5918581.html

 

 

修改后:

 

成功!!!!!


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM