摘要:
import ref = open("beijing1.txt", "r")t = open("beijing2.txt", "w") while True: line = f.readline() if line: if 'np' in line and 'offline' in line : m=re.split("[|]",line) r1=r".*\?IMSI=(\d+)&MOBILE=&VERSION=(.*)&CHAN 阅读全文
posted @ 2013-12-04 16:04
沙漠里的小鱼
阅读(111)
评论(0)
推荐(0)
摘要:
import ref = open("1205.txt", "r") m = open("1206.txt","w") while True: line = f.readline() if line: x=re.split("[|]",line) r1=r"\w+_(renow.+Alpha).*\?IMSI=(\d+)&MOBILE=&OLD_VERSION=(.*)&CHANNELID=(.*)" s=re.search(r1,x[2]) if s 阅读全文
posted @ 2013-12-04 15:27
沙漠里的小鱼
阅读(184)
评论(0)
推荐(0)
摘要:
str = "0123456"if str.find("8")!=-1 or str.find("3")!=-1: print "YES!"else: print "NO!"会输出"YES!" 阅读全文
posted @ 2013-12-04 10:31
沙漠里的小鱼
阅读(1218)
评论(0)
推荐(0)
浙公网安备 33010602011771号