Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- import sys
- from googlevoice import Voice
- from googlevoice.util import input
- sys.dont_write_bytecode = True
- username=str(sys.argv[1]).strip()
- password=str(sys.argv[2]).strip()
- phone_numbers=str(sys.argv[3]).strip()
- the_message=str(sys.argv[4]).strip()
- print "user name:" , username
- print "password:" , password
- print "phone_numbers:" , phone_numbers
- print "the_message:" , the_message
- voice = Voice()
- voice.login(username, password)
- def send_mass_text():
- with open(phone_numbers, 'r') as inF:
- for this_phone_number in inF:
- voice.send_sms(this_phone_number, the_message)
- send_mass_text ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement