usr bin env python import sys import subprocess msg sys argv cell sys

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#!/usr/bin/env python
import sys
import subprocess
msg = sys.argv[1]
cell = sys.argv[2]
suboricess.call("""lynx -source 'http://www.inforu.co.il/inforufrontend/webinterface/sendmessagebynumber.aspx?username=cupidon&password=inforu&cellnumber=%s&messagestring=%s'""" % (cell, msg), shell=True)
sys.exit(0)