Joke Collection Website - Blessing messages - Python sends text messages
Python sends text messages
I just tried to send a text message to my mobile phone with python on my computer and looked up the information. It's not as complicated as I thought:
1. Download the PyWapFetion file from /whtsky/PyWapFetion.
2. Copy the PyWapFetion folder into your own python. I use version 2.6 in the directory C:\Python26\Lib\site-packages.
3. Write a few words with reference to example.py, such as sending yourself a short message:
#! /usr/bin/python2.6
#
-*-
Code:
utf-8
-*-
from
_ _ Future _ _
Imported?
With _ statement
from
PyWapFetion
Imported?
Fetion,
send2self,
dispatch
Send2self ('own mobile phone number',' Fetion registration password',' prompt you')
I will receive a message "Prompt you" soon.
- Previous article:Classic morning greeting
- Next article:The blind date asked to video chat with me. How can I refuse him?
- Related articles
- What is the number of the SMS center in Xiantao, Hubei? urgent
- Will there be SMS comments after Midea's return visit?
- How to bless a boyfriend's birthday in a different place
- The mobile phone clicks on the SMS link Zhihu.
- How to resume SMS notification in rookie station
- Hello, my mobile phone was bombed by SMS. Is there any way to find each other's IP?
- How can I complain if I receive social security?
- Chaos lesson: the concept of 10 times speed change
- What actions does a girl take to show that she likes you?
- How to monitor children's mobile phones?