python TypeError: write() argument must be str, not bytes

1. Error message:
TypeError: write() argument must be str, not bytes

The statement to view the proxy file open is:
filehandle = open("song.csv",'w')

Changed to
filehandle = open("song.csv",'wb')

Guess you like

Origin blog.csdn.net/weixin_45598506/article/details/114138689