This steps will provide the knowledge of sending text messages with Python.
1> Sign up for (or log in to) your Twilio account and get a phone number with SMS (and MMS) capabilities.
2> Send an SMS message in Python via the REST API. Install Python helper library using pip: -->pip install twilio
3> Now, create a file named <send_sms.py> and include the following code.
4> Once you’ve updated the code sample, you can test it out by running it from the command line: -->python send_sms.py
In just a few moments you should receive an SMS!