代码:

#encoding=utf-8


# 生成文本 text="" for i in range(1,10): s = '%03d' % i url="https://abc.com/20181221/hBNS5261"+s+".ts" text=text+url+"\n"

# 将文本写入文件 with open('result.txt','a') as file_handle: file_handle.write(text)

2020年9月7日08点50分

相关文章:

  • 2021-08-23
  • 2022-12-23
  • 2021-05-21
  • 2022-01-06
  • 2022-12-23
  • 2022-01-31
  • 2021-09-15
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-29
  • 2022-12-23
  • 2022-12-23
  • 2021-07-21
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案