4 Years later. I just want to mention that the arguments have probably changed in the latest versions of Skype. Meaning that the code below:
try:
CmdLine = sys.argv[1]
except:
print 'Missing command line parameter'
sys.exit()
(which is a line from the Example Skype4Py script "callfriend.py" from github) will just give you the exception. I don't know what has changed, since 2 years ago I didn't use the Skype4Py but the argument sys.argv[1] isn't the send command anymore. Basically you ll get that sys.argv[1] is ouy of range. What you can do now is basically this:
import Skype4Py
skype = Skype4Py.Skype()
skype.SendMessage('receiver's skypename','your message text')
And if you want to call a contact just use the code bellow.
skype.Placecall('skypename')