from qcloudsms_py import SmsVoicePromptSender
from qcloudsms_py.httpclient import HTTPError
vpsender = SmsVoicePromptSender(appid, appkey)
try:
result = vpsender.send("86", phone_numbers[0], 2, "1234", 2)
except HTTPError as e:
print(e)
except Exception as e:
print(e)
print(result)