随笔分类 -  PythonLG

摘要:使用Eclipse 引入tensorflow,出现 Could not load requested Qt binding. 问题 ImportError: Could not load requested Qt binding. ... 阅读全文
posted @ 2017-12-12 17:03 wishchin 阅读(237) 评论(0) 推荐(0) 编辑
摘要:一种操作方法: 文章链接:MAC下使用Pycharm,debug调试时怎样带参数 今天在网上找了一个例子敲代码,因为我使用的是PyCharm,例子运行时需要带参数,开始不知道怎么带参数,网上搜了大半天,最终才找到自己想要的方法,记录一下。代码中有需要... 阅读全文
posted @ 2017-11-17 14:18 wishchin 阅读(829) 评论(0) 推荐(0) 编辑
摘要:0. coco数据集使用TensorFlow版本至少1.3,需要对TensorFlow进行升级。出现此种问题:Cannot remove entries from nonexistent file \lib\site-pack解决方法:conda remove set... 阅读全文
posted @ 2017-11-17 11:31 wishchin 阅读(166) 评论(0) 推荐(0) 编辑
摘要:Python3使用OpenCV安装过程应该是这样的,参考:http://blog.csdn.net/lixintong1992/article/details/61617025 ,使用conda安装OpenCV, 但是没有多少效果。在Eclips... 阅读全文
posted @ 2017-11-12 18:14 wishchin 阅读(196) 评论(0) 推荐(0) 编辑
摘要:代码:1.递归使用遍历目录import os def scanfile(path): filelist = os.listdir(path) allfile = [] for filename in filelist: ... 阅读全文
posted @ 2016-07-25 18:20 wishchin 阅读(127) 评论(0) 推荐(0) 编辑
摘要:1. https://pip.pypa.io/en/latest/installing.html转到python目录:python -m pip install -U pip 阅读全文
posted @ 2016-05-16 09:39 wishchin 阅读(78) 评论(0) 推荐(0) 编辑
摘要:被win10 给坑了,换回Win7. 重装系统后,继续使用Python,Eclipse不用重装,pydev不用重装,只需重装Python2.7.6 X64 for win即可。然后,默认已安装的Python包可以直接使用。 重新配置PyD... 阅读全文
posted @ 2015-12-18 18:19 wishchin 阅读(230) 评论(0) 推荐(0) 编辑
摘要:原文链接:http://blog.sciencenet.cn/home.php?mod=space&uid=1181151&do=blog&id=865515 Note1. 整个安装过程主要参考下述网页:http://www.pymolwiki.org/i... 阅读全文
posted @ 2015-04-13 08:48 wishchin 阅读(1430) 评论(0) 推荐(0) 编辑
摘要:Windows下安裝python包還是比較方便的,直接在FLD網站下載對應的EXE文件就可以安裝,在linux系統下,使用pip,easy egg 管理工具可以減輕安裝負擔.原文鏈接:http://www.2cto.com/os/201305/213725.html參... 阅读全文
posted @ 2014-10-07 10:38 wishchin 阅读(100) 评论(0) 推荐(0) 编辑
摘要:from random import randint def main(): A = [randint(1, 99999999) for _ in xrange(9999)] for k ... 阅读全文
posted @ 2014-08-20 20:13 wishchin 阅读(115) 评论(0) 推荐(0) 编辑
摘要:原文链接:http://down.51cto.com/data/751371首先要确保eclipse编辑器环境的编码为utf8,这个是大前提;其次如果py文件中含有中文字符的话,需要在py文件中对编码进行声明。1. 修改eclipse编辑器编码 a)设置工作空间编码... 阅读全文
posted @ 2014-08-18 08:54 wishchin 阅读(125) 评论(0) 推荐(0) 编辑
摘要:有少量修改,请访问原始链接。PythonWIn的exe安装包;http://www.lfd.uci.edu/~gohlke/pythonlibs/原文链接:codecloud.net/python-resource-2109.html现代编程语言的一个非常令人欣慰的事... 阅读全文
posted @ 2014-08-13 08:54 wishchin 阅读(1676) 评论(0) 推荐(0) 编辑
摘要:问题:py2exe打包OpenCV,找不到libiomp5md.dll 解决方法:把 libiomp5md.dll 从numpy/core/ 里面复制到 python27/DLLS/文件夹!!! 阅读全文
posted @ 2014-07-17 16:56 wishchin 阅读(287) 评论(0) 推荐(0) 编辑
摘要:原文链接:http://www.douban.com/group/topic/32821988/原文链接:http://www.cnblogs.com/vamei/archive/2012/09/16/2687954.html在数据可视化过程中,我们常常需要将数据根据... 阅读全文
posted @ 2014-07-13 14:37 wishchin 阅读(309) 评论(0) 推荐(0) 编辑
摘要:使用PyQT比QT好在,可以随时监测函数正确性,省去编译时间 ! 这是个不小的节省.1. PyQt: 打开对话框 msgbox = QtGui.QMessageBox(self)# 我的语句是 msgbox = QtGui.QMessageBox(self... 阅读全文
posted @ 2014-06-26 10:27 wishchin 阅读(1444) 评论(0) 推荐(0) 编辑
摘要:OpenCV的2.4.7.版本生成了python的CV2模块,可以直接载入;有兴趣的可以参考这个教程:http://blog.csdn.net/sunny2038/article/details/9080047 不过可惜的是,这个教程只是针对CV2 的;Tips1:... 阅读全文
posted @ 2014-02-25 14:19 wishchin 阅读(802) 评论(0) 推荐(0) 编辑
摘要:使用boost.python进行混合开发原文请参照官网和各方参考,本文有改动!参考链接:http://blog.csdn.net/lanbing510/article/details/12197901引言:1 简介:Boost.Python 是 Boost的一个组件... 阅读全文
posted @ 2014-02-18 18:58 wishchin 阅读(2834) 评论(0) 推荐(0) 编辑
摘要:原文链接:http://blog.csdn.net/gzlaiyonghao/article/details/4561611作者:perrygeo译者:赖勇浩(http://laiyonghao.com)原文:http://www.perrygeo.net/wordp... 阅读全文
posted @ 2014-02-13 16:49 wishchin 阅读(654) 评论(0) 推荐(0) 编辑
摘要:原文链接:http://www.cnblogs.com/wdong/archive/2010/08/19/1802951.html 常年奋斗在编码一线的同学,应该都深有体会,工作久了,很多项目文件、技术资料,设计文档,安装包等等一堆一堆的工作目录分散在各个... 阅读全文
posted @ 2014-02-13 16:18 wishchin 阅读(411) 评论(0) 推荐(0) 编辑
摘要:发信人: RunningOn (挥着翅膀的男孩), 信区: Python标 题: python IDE比较与推荐原始链接:已忘记。有少量修改!我先给一个初步的表格吧,大家如果有什么意见,或有补充,欢迎提出。有些我没有用过,先不写了。以下是我使用过的python ID... 阅读全文
posted @ 2014-02-13 16:12 wishchin 阅读(157) 评论(0) 推荐(0) 编辑

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