摘要:
def cash_out(amount): while amount >0: amount-=1 yield 1 print('get again %s' %amount)atm=cash_out(5)print(type(atm))print(atm.next())print(234234)pri 阅读全文
posted @ 2017-09-07 15:29
pop_PY
阅读(228)
评论(0)
推荐(0)
摘要:
f = open("1.log", 'r')f1 = open("2.txt",'w')for i in f: if "qSrcAddr=180.163.194.15" in i: f1.write(i) print(i)f.close()f1.close() 阅读全文
posted @ 2017-09-07 14:03
pop_PY
阅读(185)
评论(0)
推荐(0)

浙公网安备 33010602011771号