curl -s -X POST -u cu2:l5f7jrRQttWdxsLmY7FV4+MA= -H "Accept:application/xml" -H "Date:Fri, 14 Apr 2017 02:07:17 GMT" -d "date=2017-04-13&channel=vod.tv.cn&isExactMatch=false®ion=&startdate=2017-04-13&enddate=2017-04-14" http://opencenter.com/myview/bandwidth-origin
像这样一个又带-u-H-d的url要怎么用python通过curl访问并获取返回结果?
It is recommended that you change the question title.
According to your statement, the code you provided can actually be run, but you don't know how to get its output.
Seeing that you marked Python, in fact, you only need to copy a copy of the Python code for executing terminal commands and you will understand.