
python
fallentopaz
这个作者很懒,什么都没留下…
展开
-
python mysql数据库 'latin-1' codec can't encode character错误问题解决
"UnicodeEncodeError:'latin-1' codec can't encode character ..." This is because MySQLdb normally tries to encode everythin to latin-1. This can be fixed by executing the following commands right af转载 2017-01-10 11:17:30 · 407 阅读 · 0 评论 -
今天碰到的几个python 小问题
先说我的环境 python2.7 win7 1 cannot import name ttk 将 from tkinter import ttk 改成 from Tkinter import * import ttk 2 UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe5 先把我用的 w原创 2017-01-23 15:45:58 · 622 阅读 · 0 评论