Python如何知道list长度? by 好办法汇总Posted on 2015年1月13日 Python如何知道list长度? len() >>> someList=[] >>> print len(someList)