-->

Welcome to our Coding with python Page!!! hier you find various code with PHP, Python, AI, Cyber, etc ... Electricity, Energy, Nuclear Power

Tuesday 3 July 2018

Python | Send Notification SMS through Python 3.6.1

Have you guys ever thought of sending text message to your mobile? If yes, how will you do using a python script? Sending a sms using a script can be used as a notification in your project if necessary. It can be used only for the test using your own phone.

Creating Twilio Account

This can be done easily with an online API called twilioIf you dont have an account on it, register. Fill the details with your full nameyour own company name (if exists), your mail id and 14 characters password.  On product plan choose SMS, on buliding project choose Account Notifications, on language choose Python, on Monthly interactions choose Not a production app. Finally, click Get started.
On the next step, enter your personal phone number where you need to receive notifications. Verify it with One Time Password and click Submit.

Preparing to send SMS

Now as soon as you have registered, you are taken to the Console Dashboard where you can see your ACCOUNT SID and AUTH TOKEN under account summary. Copy and save it with your system. Now, click Programmable SMS module under All Twilio Products and click Get Started. You will see a new console, click Get a Number.
Capture 2.PNG
After Clicking Get a Number under ‘First let’s get a twilio phone number’. Twilio will give you a Phone number and click Choose this number.
Capture 3.PNG
Then it will give you a new Phone number and click Done. Save it to the other Twilio details in your computer. Now, you have your Account SID, Auth Token, Your Verified Phone Number, Your Twilio Phone number.

Python Script

Open your command prompt and type >> pip install twilio
Create your python Script as like this say ‘message.py.
Capture 4.PNG
Fill the areas with details and execute the script in your system (Internet Connection is needed). You will receive the SMS.
There you got your messages. Comment your try and don’t forget to share this with your friends. Also Check out How to convert .py to .exe. Like if this helps you. Have a nice day.

9 comments:

  1. To select the best bulk SMS API available in the market I would suggest you go for Msgclub SMS platform where they have their bulk SMS API available in many programming languages like PHP, Java,.Net and more

    ReplyDelete
  2. It would lead to a period of an underground lifestyle for over 5 years. Where we had once "made a run for the border" for Tacos, Michael had made a literal dash, in hopes of Old West Predecessors before him.

    kissmanga.com

    ReplyDelete
  3. A very awesome blog post. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Apache Kafka

    ReplyDelete
  4. And without the added stress, worry, dread, or guilt you could really be there for them. You wouldn't add to their pain. gogoanime

    ReplyDelete
  5. "Where are you?" "When are you coming home?" "So you remember how to get home or are you so far away you need me to come get you?" "Are you hurt?" 9anime

    ReplyDelete
  6. Unless their new guardian knows how to deal successfully with the behaviors or are able to help them heal, then often they are returned to the system like orphans in our foster care system. Over and over again. gogo anime

    ReplyDelete
  7. Now that you know just SOME of the uniquely wonderful benefits to learning animal communication, you're probably wondering how you can communicate with animals yourself! 4anime

    ReplyDelete
  8. Now that you know just SOME of the uniquely wonderful benefits to learning animal communication, you're probably wondering how you can communicate with animals yourself! 123 movies

    ReplyDelete
  9. Are you movie crazy? No, I don't mean crazy for Harold Lloyd's comedy Movie Crazy from 1932 about a young man with little or no acting ability, desperately trying to be in the movies. 4anime

    ReplyDelete

Thanks for your comments

Rank

seo