码迷,mamicode.com
首页 >  
搜索关键字:pil    ( 2160个结果
Ubuntu16.04下编译vim with python support失败的原因
- youcompleteme原话:On Ubuntu 16.04, Python support was not working due to enabling both Python2 and Python3. Read answer by chirinosky for workaround. ...
分类:编程语言   时间:2016-12-07 01:45:23    阅读次数:209
macaca常见错误排查
1.Error: cannot resolve path (or pattern) 'macaca-test' 这是因为执行run命令的时候未进入用例目录 如下,进入相应目录即可 2. ...
分类:系统相关   时间:2016-12-06 13:32:18    阅读次数:508
Debug版DLL LoadLibrary R6034异常的原因及解决
Microsoft's recommendation is very confusing. That is, it recommends to include a manifest file and to re-compile the project. I recently had a proble ...
分类:其他好文   时间:2016-12-05 19:28:04    阅读次数:213
如何myEclipse修改工程项目的运行环境和编译环境
修改工程运行环境(开发环境)JRE 右击工程名 选择properties 选择对话框左侧的java build path 查看使用的JRE 选择Library选项卡中的,选中使用中的JRE,点击右侧的Editor按钮,进入对话框选择Alternate JRE,点击installed JREs 选择A ...
分类:系统相关   时间:2016-12-05 13:41:27    阅读次数:289
2016/12/3-问鼎杯线上赛1-1-Misc
拿到这道题目的文件,是一个压缩包,解压之后,我们看到一个1.txt文件,打开之后全是一堆数字,然后看到255,0,144等内容,估计是图片的像素值。 既然知道是像素值了,在CTF中,一般是8位比特的RGB图片,我们就使用Python写一个脚本来生成这个图片,Python使用的是PIL这个库。将所有的 ...
分类:其他好文   时间:2016-12-04 09:43:08    阅读次数:228
throw er; // Unhandled 'error' event
events.js:72 throw er; // Unhandled 'error' event ^Error: listen EADDRINUSE at errnoException (net.js:904:11) at Server._listen2 (net.js:1042:14) at l ...
分类:其他好文   时间:2016-12-04 00:17:19    阅读次数:160
beautifulSoup(1)
import re from bs4 import BeautifulSoupdoc = ['<html><head><title>Page title</title></head>', '<body><p id="firstpara" align="center">This is paragrap ...
分类:其他好文   时间:2016-12-03 23:24:16    阅读次数:231
BS4(BeautifulSoup4)的使用--find_all()篇
可以直接参考 BS4文档:https://www.crummy.com/software/BeautifulSoup/bs4/doc/index.zh.html#find-all 注意的是: 1.有些tag属性在搜索不能使用,比如HTML5中的 data-* 属性: data_soup = Beau ...
分类:其他好文   时间:2016-12-03 20:48:36    阅读次数:535
从零构建一个简单的 Python Web框架
为什么你想要自己构建一个 web 框架呢?我想,原因有以下几点: 你有一个新奇的想法,觉得将会取代其他的框架 你想要获得一些名气 你遇到的问题很独特,以至于现有的框架不太合适 你对 web 框架是如何工作的很感兴趣,因为你想要成为一位更好的 web 开发者。 接下来的笔墨将着重于最后一点。这篇文章旨 ...
分类:编程语言   时间:2016-12-03 01:10:41    阅读次数:262
不安装rpm包,取出rpm包里的文件
1、查看rpm包里的文件 [root@VM_166_132 ~]# rpm -qlp mysql5.6.29-1-3.x86_64.rpm |more/etc/ld.so.conf.d/mysql-5.6.23_compiled_x86_64.conf/usr/local/lib/libjemall ...
分类:其他好文   时间:2016-12-02 21:17:49    阅读次数:319
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!