www.cnblogs.com/ruiyqinrui

开源、架构、Linux C/C++/python AI BI 运维开发自动化运维。 春风桃李花 秋雨梧桐叶。“力尽不知热 但惜夏日长”。夏不惜,秋不获。@ruiY--秦瑞

python爬虫,C编程,嵌入式开发.hadoop大数据,桉树,onenebula云计算架构.linux运维及驱动开发.

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2018年5月25日

摘要: python 3中urlretrieve方法直接将远程数据下载到本地.为什么不行? 55 import re import urllib.request def getHtml(url): page = urllib.request.urlopen(url) html = page.read() r 阅读全文
posted @ 2018-05-25 23:32 秦瑞It行程实录 阅读(1314) 评论(0) 推荐(0)

摘要: UnicodeDecodeError: 'gbk' codec can't decode byte 0xae in position 120: illegal multibyte sequence f = open('file_positions','open module',encoding = 阅读全文
posted @ 2018-05-25 23:06 秦瑞It行程实录 阅读(6508) 评论(1) 推荐(1)

www.cnblogs.com/ruiyqinrui