PDA

View Full Version : Python MSN Class



php99
July 15th, 2010, 05:45 PM
Hello there;

Am looking for a program that I can adapt for my own projects.

I am looking for a MSN pre-built robot that can recieve and send messages.

I've wrote everything that i need to complete the project the only thing missing is MSN part.

What i want the bot to do on reciving a message is to execute a function that i already have made that uses the message as the first argument then send a message back using what was returned from the function.

A little flow chart thingy;
Receive message
execute function with message contents
Send message that was returned from function

Am sorry if I wasn't clear. I found some code thought i thought i would like but it doesnt work: http://ubuntuforums.org/showpost.php?p=4158472&postcount=4

Thank-you for reading
Paul

km0r3
July 15th, 2010, 07:59 PM
I have found some interesting projects written in Python which might help you:

http://suttree.com/code/msnbot/
http://blitiri.com.ar/p/msnlib/

Also, you might be interested in the work of the guys working on libpurple, the back-end of the chat client pidgin (http://developer.pidgin.im/).

SledgeHammer_999
July 15th, 2010, 08:46 PM
An MSNP implementation in python that is actively being updated-->http://www.freedesktop.org/wiki/Software/papyon