我是python编程新手,如果我需要输入整型2468以编译模式作为用户交互模式,请告诉我需要做哪些更改
代码:
f = open ('C:\\Users\\anash\\Desktop\\SIP Success call.txt')
file = f.read()
import re
regex1 = re.compile(r'INVITE sip:.*?**2468**.*?Content-Length: \d+',re.DOTALL)
filtfile = regex1.findall(file)
print (filtfile[0])
在交互式shell中,输入以下内容:
相关问题 更多 >
编程相关推荐