- 博客(3)
- 收藏
- 关注
转载 web_spider学习笔记
通常Windows下面的文件默认编码未GBK,这样的话,python解释器会用gbk编码去解析我们的网络数据流txt,然而txt此时已经是decode过的unicode编码,这样的话就会导致解析不了,出现上述问题。 解决的办法报错:UnicodeEncodeError: 'gbk' codec can't encode character '\xa9' in position 30...
2018-02-18 09:05:27
236
原创 git学习
安装完成后:$ git config --global user.name "Name"$ git config --global user.email "email" 利用cd指令到某一目录下,创建版本库,并移动到当前版本库中$ mkdir gitlearning$ cd gitlearning下一步将该目录转换成git管理仓库$ git init以下是一些操作(包含个人的理解
2018-01-13 23:15:05
109
原创 数据结构中序穿线二叉树中出现的一个问题
数据结构之中序穿线二叉树的构造函数:template<typename Elemtype>void threadtree<Elemtype>::construct_function_aux(nodepointer &p, nodepointer otherL){ if (otherL) { p = new node; p->data = otherL
2018-01-01 21:19:20
454
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人