- 博客(3)
- 收藏
- 关注
原创 ubuntu 14.04 安装gensim
1. 安装依赖库: Python >= 2.6. Tested with versions 2.6, 2.7, 3.3 and 3.4. Support for Python 2.5 was discontinued starting gensim 0.10.0; if you must use Python 2.5, install gensim 0.9.1.NumPy >= 1.
2015-10-21 19:46:36 9804
原创 what yield does in python?
http://stackoverflow.com/questions/231767/what-does-the-yield-keyword-do-in-python yield->generator(生成器)->iterable(迭代器) Everything you can use "for... in..." on is an iterable: lists, strings,
2015-10-21 13:33:23 6127
原创 python string转为dict --- json.loads
import json content = "{\"Location\":{\"Store\":{\"StoreRegionID\":300,\"StoreGroupID\":394,\"StoreDistrictID\":340},\"TypeDescription\":\"Store\",\"AlternateIdentifier\":{\"TypeDescription\":\"L
2015-10-14 19:20:05 7568
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人