Uses Twilio API parser.add_op1on('-‐u', '-‐-‐sms_url’, ac1on="store", dest="sms_url”, help="sms url string", default="spam”) op1ons, args = parser.parse_args() #parse the cmdline arg for URL body_url = "Visitor @FrontDoor: " + op1ons.sms_url message = client.sms.messages.create( to="+XXXYYYZZZZ", from_=”+PPPQQQRRRR”, body=body_url) PyCon 2013 Rupa Dachere -‐
[email protected] 27