# find all :找到 RE 匹配的所有子串,并把它们作为一个列表返回
tt = re.findall('^\d{13}',str(time.time()).replace('.',''))[0] 
# 很长的计算....
v = float(re.findall('^\d{13}',str(time.time()).replace('.',''))[0])-float(tt)
print(v)

 

相关文章:

  • 2021-05-21
  • 2021-09-24
  • 2021-11-15
  • 2021-07-25
  • 2021-12-15
  • 2021-12-05
  • 2021-12-05
  • 2021-10-03
猜你喜欢
  • 2021-11-25
  • 2021-12-05
  • 2021-12-19
  • 2021-08-06
  • 2021-06-21
  • 2022-12-23
  • 2021-12-05
相关资源
相似解决方案