requests上传多个文件
import requests
url = "http://ip:port/path"
files = [("images", open("a.png", "rb")),
("images", open("b.png", "rb")),
("images", open("c.jpg", "rb")),
......]
res = requests.post(url, files=files)
print(res.json())