我正在创建一个程序,可以从我的雅虎体育中删除信息。我收到以下错误
Traceback (most recent call last):
File "Z:\Coding\Baseball\fetch_rosters_yahoo.py", line 213, in <module>
player_name = str(player_name[1])+' '+ str(player_name[0])
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 1: ordinal not in range(128)
犯规球员是JonnyGómes。如何让python允许这些特殊字符?
由于
埃文