步骤 构造要发送的文件数据元组,可一次发送多个文件 调用requests.post发出文件 url = 'https://xxxx.org/' multiple_files = [ ('images', ('1.png', open('foo.png', 'rb'), 'image/png'))