07 2016 档案

摘要:环境:Ubuntu 16.04 工具:python 3.5+,scrapy1.1,pycharm 运行结果: 阅读全文
posted @ 2016-07-26 18:12 INnoVation-V2 阅读(724) 评论(0) 推荐(0) 编辑
摘要:首先,字符串在Python内部的表示是unicode编码. 因此,在做编码转换时,通常需要以unicode作为中间编码,即先将其他编码的字符串解码(decode)成unicode,再从unicode编码(encode)成另一种编码。 decode的作用是将其他编码的字符串转换成unicode编码, 阅读全文
posted @ 2016-07-23 16:21 INnoVation-V2 阅读(230) 评论(0) 推荐(0) 编辑
摘要:错误代码: 这个原因是库文件不全,安装 即可 阅读全文
posted @ 2016-07-22 00:44 INnoVation-V2 阅读(692) 评论(0) 推荐(0) 编辑
摘要:sudo apt-get install libghc-zlib-dev 阅读全文
posted @ 2016-07-22 00:42 INnoVation-V2 阅读(1008) 评论(0) 推荐(0) 编辑
摘要:出现这个或者fatal error: openssl/名单.h: No such file or directory。都是没有安装libssl-dev~ libssl-dev包含libraries, header files and manpages,他是openssl的一部分,而openssl对s 阅读全文
posted @ 2016-07-22 00:29 INnoVation-V2 阅读(2205) 评论(0) 推荐(0) 编辑
摘要:安装ubuntu更新: 安装Docky: 去应用商店下载tweak-tool 下载主题,图标,鼠标主题(在网盘里面) 删除AMAZON: 安装sublime Text3: 安装git和vpnc: 安装包管理软件: 安装压缩应用程序: 安装pycharm: 1.解压缩pycharm安装包 2.定位到安 阅读全文
posted @ 2016-07-22 00:00 INnoVation-V2 阅读(196) 评论(0) 推荐(0) 编辑
摘要:环境:ubuntu 16.04 , python3.5.1+ 安装顺序如下: 然后安装Scrapy: scrapy运行必备组件需要(OpenSSL,lxml(lxml一般默认有安装,可以import xml验证是否有安装,因为我这里已经默认安装了xml,所以就不附上xml安装命令了)) 安装Open 阅读全文
posted @ 2016-07-21 02:31 INnoVation-V2 阅读(2678) 评论(0) 推荐(0) 编辑
摘要:ubuntu是默认安装了python2的,所以直接使用 是默认安装到python2的,安装到python3 的指令是 或者 阅读全文
posted @ 2016-07-21 02:25 INnoVation-V2 阅读(290) 评论(0) 推荐(0) 编辑
摘要:依次安装 然后安装Scrapy: 不过我今天遇到了这样的问题: 解决方法:安装libffi: 阅读全文
posted @ 2016-07-21 01:37 INnoVation-V2 阅读(220) 评论(0) 推荐(0) 编辑
摘要:几乎所有的Python 2程序都需要一些修改才能正常地运行在Python 3的环境下。为了简化这个转换过程,Python 3自带了一个叫做2to3的实用脚本(Utility Script),这个脚本会将你的Python 2程序源文件作为输入,然后自动将其转换到Python 3的形式。案例研究:将ch 阅读全文
posted @ 2016-07-19 15:40 INnoVation-V2 阅读(905) 评论(0) 推荐(0) 编辑
摘要:出现这种错误的原因是程序中的编码出问题了,只要在程序的最前面加上 最前面的意思是在最前面,包括在注释的前面 阅读全文
posted @ 2016-07-19 00:14 INnoVation-V2 阅读(296) 评论(0) 推荐(0) 编辑
摘要:环境:Ubuntu 16.04 LTS Python 2.7.11 + Pygame + Pycharm 代码: 运行所需图片: 阅读全文
posted @ 2016-07-19 00:12 INnoVation-V2 阅读(455) 评论(0) 推荐(0) 编辑
摘要:1.系统升级出错:打开终端输入:sudo apt-get install -f 阅读全文
posted @ 2016-07-18 14:41 INnoVation-V2 阅读(165) 评论(0) 推荐(0) 编辑
摘要:安装stylish 输入:body{filter: brightness(80%);} 阅读全文
posted @ 2016-07-18 01:41 INnoVation-V2 阅读(899) 评论(0) 推荐(0) 编辑
摘要:环境:ubuntu 16.04 LTS (X86-64),pycharm python版本 :3.5.1+ 运行结果: 阅读全文
posted @ 2016-07-18 00:39 INnoVation-V2 阅读(339) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示