上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 33 下一页
摘要: http://www.cnblogs.com/longxiang92/p/5829373.html yum install python-pip 报错 no package python-pip available. 报错 no package python-pip available. yum - 阅读全文
posted @ 2017-11-03 16:52 Go_Forward 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 在使用pyinstaller生成python可执行文件的时候,包错误,提示有几个依赖的库找不到:Python library not found: libpython2.7mu.so.1.0 参考stackoverflow解决方法: install python-devel openssl open 阅读全文
posted @ 2017-11-03 16:38 Go_Forward 阅读(1109) 评论(0) 推荐(0) 编辑
摘要: centos6.8编译安装python2.7之后,使用pip报错:pip cannot confirm SSL certificate: SSL module is not available 解决方法: 安装openssl-devel 后重新编译安装python ref: https://stac 阅读全文
posted @ 2017-11-03 16:29 Go_Forward 阅读(728) 评论(0) 推荐(0) 编辑
摘要: https://stackoverflow.com/questions/8115280/importerror-no-module-named-bz2-for-python-2-7-2 centos6.8使用源码编译安装python2.7之后,使用bz2报错: no module named bz2 阅读全文
posted @ 2017-11-03 16:21 Go_Forward 阅读(2625) 评论(0) 推荐(0) 编辑
摘要: pip 通过requirements安装 pip install -r requirements.txt 阅读全文
posted @ 2017-11-03 16:08 Go_Forward 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 工作中由于需要防止源代泄漏,需要将源代码隐藏,找到两种方法: 1.使用python生成的pyc文件。 这种方法的优点就是pyc文件生成很容易,缺点则是很容易通过工具得到源码,并且python版本不一致也会报 bad magic error。 bad magic error解决方法:删除pyc,用相同 阅读全文
posted @ 2017-11-03 16:04 Go_Forward 阅读(1037) 评论(0) 推荐(0) 编辑
摘要: 创建存储过程: USE `test_csv`; --test_csv is the table nameDROP procedure IF EXISTS `new_procedure`;DELIMITER $$ --change delimiterUSE `test_csv`$$CREATE DEF 阅读全文
posted @ 2017-10-24 11:24 Go_Forward 阅读(503) 评论(0) 推荐(0) 编辑
摘要: from:http://kkpattern.github.io/2015/06/20/python-memory-optimization-zh.html 准备工作 为了方便解释Python的内存管理机制, 本文使用了gc模块来辅助展示内存中的Python对象以及Python垃圾回收器的工作情况. 阅读全文
posted @ 2017-10-23 09:51 Go_Forward 阅读(277) 评论(0) 推荐(0) 编辑
摘要: from: https://foofish.net/python-gc.html GC作为现代编程语言的自动内存管理机制,专注于两件事:1. 找到内存中无用的垃圾资源 2. 清除这些垃圾并把内存让出来给其他对象使用。GC彻底把程序员从资源管理的重担中解放出来,让他们有更多的时间放在业务逻辑上。但这并 阅读全文
posted @ 2017-10-20 17:55 Go_Forward 阅读(269) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-10-20 17:00 Go_Forward 阅读(2) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 33 下一页