摘要: 思路是先用curl抓取网页源码,然后以关键字寻找出图片网址。 范例: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 #include <curl/curl.h> 5 6 void get_key_from_str 阅读全文
posted @ 2016-12-10 15:09 极客先锋 阅读(1701) 评论(0) 推荐(0) 编辑
摘要: 今天在编译一个Python程序的时候,一直出现“Non-ASCII character 'xe5' in file”报错问题 1 SyntaxError: Non-ASCII character '\xe5' in file kNN.py on line 24, but no encoding de 阅读全文
posted @ 2016-12-10 00:32 极客先锋 阅读(557) 评论(0) 推荐(0) 编辑