# 请求头
headers = {"ct": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"}
# 接口
upload_url='****************'
# 参数
upload_post = {'version': '1.0'}
# 要上传的文件
files_01 = {'file': ('s.mp4' % i, open(r'E:\sss\ttt\s.mp4' , 'rb'), 'image/jpeg')}
# 调用post请求
requests.post(upload_url, data=upload_post, files=files_01, headers=headers)
备注:以上路径皆为随意命名,以自己存放路径为准