摘要: (1366, "Incorrect string value: '\\xF0\\x9F\\x8E\\xAC\\xE5\\x89...' for column 'description' at row 1") 针对MySQL的这个错误, 第一种方法是 : set names utf8mb4; SET 阅读全文
posted @ 2018-10-19 10:50 淋哥 阅读(1370) 评论(0) 推荐(0)
摘要: from datetime import datetime from datetime import timedelta if "刚刚" in publish_time: publish_time = datetime.now().strftime('%Y-%m-%d %H:%M') elif "分钟" in publish_time: minute = publis... 阅读全文
posted @ 2018-10-19 09:28 淋哥 阅读(1221) 评论(0) 推荐(0)