酷炫板凳

文章
7
资源
0
加入时间
3年1月28天

(冲突)Python中使用pymysql插入中文数据问题

今天使用MySQLdb往MySQL插入中文数据时遇到一个异常:UnicodeEncodeError:'latin-1'codeccan'tencodecharactersinposition52-53:ordinalnotinrange(256)adfsdfsafd错误原因:在创建连接时没设置编码,如:conn=py

POJ 1797 Heavy Transportation 最短路变形

Heavy TransportationTime Limit: 3000MS Memory Limit: 30000KTotal Submissions: 33121 Accepted: 8783DescriptionBackground Hugo Heavy is happy. After the breakdown