1、python向数据库插入中文乱码问题直接手动insert into 中文 不乱码,但是用程序跑起来就乱码。conn =MySQLdb.connect(host="127.0.0.1",user="nimei",passwd="nimei",db="nimei",charset="utf8")加入... Read More
posted @ 2015-11-04 14:24 welkinok Views(752) Comments(0) Diggs(0) Edit
最近了解了一下django,数据库选用了mysql, 在连接数据库的过程中,遇到一点小问题,在这里记录一下,希望能够对遇到同样的问题的朋友有所帮助,少走一些弯路。关于django,想在这里也额外说一句。django是很优秀的基于python的web开发框架,对于有python基础的后台程序员,如果有... Read More
posted @ 2015-11-04 11:15 welkinok Views(1497) Comments(0) Diggs(0) Edit