Created
December 18, 2009 23:30
-
-
Save bdotdub/259858 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ---------------------------------------------------------------------------------------------------- | |
# 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