4 years later. I just want to mention that the arguments probably changed in recent versions of Skype. This means the code below:
try: CmdLine = sys.argv[1] except: print 'Missing command line parameter' sys.exit()
(this is a line from the Skype4Py example script "callfriend.py" from github) will just give you an exception. I do not know what has changed since 2 years ago I did not use Skype4Py, but the sys.argv [1] argument is no longer a send command. You will basically get sys.argv [1] to be a range. Now you can do the following:
import Skype4Py skype = Skype4Py.Skype() skype.SendMessage('receiver skypename','your message text')
And if you want to call a contact, just use the code below.
skype.Placecall('skypename')
source share