Please, how to append url text file in python3?

前端 未结 0 500
生来不讨喜
生来不讨喜 2020-12-13 11:51

import urllib.request

file = urllib. request. urlopen("http://www.example.com/a.txt")

def write_file(example): with open(file, "a")

相关标签:
回答
  • 消灭零回复
提交回复
热议问题