人人好友数据挖掘(4)--根据抓取的数据,绘制好友网络图
from igraph import *
import re
#data in \data is all the friends info ,include uid and uname
#data in \coredata is the relations between friends
fp = open("data","r")
fp1 = open("coredata","r")
#read
原创
2012-04-01 15:54:21 ·
1522 阅读 ·
4 评论