Skip to content

Instantly share code, notes, and snippets.

@bdotdub
Created December 18, 2009 23:30
Show Gist options
  • Save bdotdub/259858 to your computer and use it in GitHub Desktop.
Save bdotdub/259858 to your computer and use it in GitHub Desktop.
# ----------------------------------------------------------------------------------------------------
# Python / Skype4Py example that prints out chat messages
# Adapted from: http://github.com/pneff/SkypeBot
#
# Tested with Skype4Py version 0.9.28.5 and Skype verson 3.8.0.96
import sys
import Skype4Py
CHAT_NAME = '#blah/$SHA1'
skype = Skype4Py.Skype();
skype.Attach();
skype.Chat(CHAT_NAME).SendMessage(sys.argv[1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment