Python 【整理】Python生产者消费者模型代码 参考Python官方文档: The queue module implements multi-producer, multi-consumer queues. It is especially us... 03月05日 阅读 3,836 views 发表评论 阅读全文
Python 【整理】从stack overflow的一个问题引发的思考(C++封装为Python可用接口) 昨晚偶然间看到stack overflow上的一个问题:http://stackoverflow.com/questions/21295624/problems-running-exported-c-... 03月01日 阅读 4,322 views 发表评论 阅读全文
Python 【分享】PyQt QTableView实现QCheckBox,实现更新数据刷新 源码可以从这个地方下载: https://gist.github.com/345161974/dd5003ed9b706adc557ee12e6a344c6e 首先看下演示效果: 开发环境:PyQt ... 02月28日 阅读 17,021 views 发表评论 阅读全文
Python 【分享】[PyQt] How to update an QAbstactTableModel、 PyQt QTableView更新数据 转载于:https://riverbankcomputing.com/pipermail/pyqt/2009-December/025321.html >>> I've w... 02月26日 阅读 6,003 views 发表评论 阅读全文
Python 【整理】【分享】有关PyQt界面卡顿的解决方案大全 之前写过两篇博客,可以参考: http://www.jyguagua.com/?p=2560 http://www.jyguagua.com/?p=2621 此篇博客是对上述两篇博客的补充。 参考这篇... 02月23日 阅读 23,065 views 发表评论 阅读全文
Python Scrapy You cannot return an “NoneType” object from a scrapy中,当进入到parse函数中,假如有条件不满足,希望爬虫跳过此次解析,如下代码是有错误的: if info.startswith('Foo'): item['... 02月13日 阅读 2,744 views 发表评论 阅读全文
c/c++ 【已解决】C++多线程定时器/计时器/Timer C++ Multithread Timer 参考:http://codereview.stackexchange.com/questions/40915/simple-multithread-timer 本文实现了一个多线程C++定时器,具备设... 02月08日 阅读 15,914 views 发表评论 阅读全文
Linux专栏 【已解决】debuginfo-install ImportError: No module named yum 出现如下问题的原因,应该是由于升级Python导致。 解决办法是: vim /usr/bin/debuginfo-install 修改头部原内容 #!/usr/bin/python 为: #!/usr... 02月07日 阅读 9,445 views 发表评论 阅读全文
web开发 【分享】bootstrap中实现消息提示样式 如何实现如下图的消息提示呢? 很简单,代码如下: <div class="container"> <button class="btn btn-defa... 01月12日 阅读 6,078 views 发表评论 阅读全文