List here just for a reminder: 1234567 url = "http://34.207.223.236"files = {"file": open("c:\a.csv", 'rb')}response = requests.post(url, files=files)print(response.text) requests will send a multi-part form POST body with the upload_file field set to the contents of the a.csv file. 赞微海报分享
近期评论