Python错误集锦:读写文件时提示UnsupportedOperation: not readable
原文链接:http://www.juzicode.com/archives/2745错误提示:读写文件时提示UnsupportedOperation: not readable#juzicode.com/vx:桔子codefileobj=open('example-r.txt','r')cont = fileobj.read()print(cont)fileobj=open('example-w.txt','w')cont = fileobj.read()print(con.