# fonte https://www.twilio.com/docs/libraries/python
# pip install twilio
from twilio.rest import Client

# Your Account SID from twilio.com/console
account_sid = "<KEY>"
# Your Auth Token from twilio.com/console
auth_token  = "<PASSWORD>"

client = Client(account_sid, auth_token)

message = client.messages.create(
    to="+5548996773435", 
    from_="+13237680831",
    body="teste de envio SMS com Python!. By geanclm in 29/08/2021")
print(message.sid)
# fonte https://www.twilio.com/docs/libraries/python
# pip install twilio
from twilio.rest import Client

# Your Account SID from twilio.com/console
account_sid = "<KEY>"
# Your Auth Token from twilio.com/console
auth_token  = "<PASSWORD>"

client = Client(account_sid, auth_token)

message = client.messages.create(
    to="+5548996773435", 
    from_="+13237680831",
    body="teste de envio SMS com Python!. By geanclm in 29/08/2021")
print(message.sid)
# fonte https://www.twilio.com/docs/libraries/python # pip install twilio # Your Account SID from twilio.com/console # Your Auth Token from twilio.com/console