摘要:
#coding=utf-8from pykafka import KafkaClientimport codecsimport logginglogging.basicConfig(level = logging.INFO)client = KafkaClient(hosts = "172.16.8... 阅读全文
摘要:
#coding=utf-8from __future__ import unicode_literalsimport codecsimport jsonimport sysimport reimport csvimport xlsxwriterfrom datetime import datetim... 阅读全文
摘要:
例如:li=[[1,2],[3,4],[5,6]]print [j for i in li for j in i]#orfrom itertools import chainprint list(chain(*li))#ora=[[1,2],[3,4],[5,6]]t=[][t.extend(i) ... 阅读全文