
Python
chfe910
这个作者很懒,什么都没留下…
展开
-
Python 多线程
import sys import os import time import threading import Queue import multiprocessingclass WorkerThread(threading.Thread): def __init__(self, jobQueue): threading.Thread.__init__(self)原创 2017-04-16 22:17:04 · 398 阅读 · 0 评论 -
Python 多进程
import sys import os import time import multiprocessingdef ProcessFunction(job): print jobdef RunWithMultiprocessing(inputJobs): multiprocessing.freeze_support() pool = multiprocessing.Pool原创 2017-04-16 22:30:57 · 370 阅读 · 0 评论 -
Python package安装指南
Download whls from http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy pip install numpy-1.13.1+mkl-cp27-cp27m-win_amd64.whl pip install scipy-0.19.1-cp27-cp27m-win_amd64.whl pip install gensim-2.3.0-cp27原创 2017-08-02 20:26:04 · 764 阅读 · 0 评论