
python
wanyanxgf
这个作者很懒,什么都没留下…
展开
-
python多线程读取文件
# -*- coding: utf-8 -*-import os,timeimport threadingrlock = threading.RLock()curPosition = 0class Reader(threading.Thread): def __init__(self, res): self.res = res super(Re转载 2012-02-10 10:50:06 · 7232 阅读 · 1 评论 -
解决error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No su
安装了python2.7,第一次执行时报错:error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory解决方法如下:1.编辑 vi /etc/ld.so.conf 如果是非root权限帐号登录原创 2012-09-26 17:01:11 · 52844 阅读 · 2 评论