473,396 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

writing IM bots

Hello,
I am trying to write an IM Bot, which automatically replies to a
message, in Python.
I was wondering If there are python modules for connecting to Yahoo!,
msn networks ...
ideally I would like to have a multithreaded module.

This is one I found for msn, if anyone has used it please comment,
- http://users.auriga.wearlab.de/~alb/msnlib/

cheers,
amit.
--
----
Endless the world's turn, endless the sun's spinning
Endless the quest;
I turn again, back to my own beginning,
And here, find rest.
Dec 13 '05 #1
3 2623
Hi,
I am trying to write an IM Bot, which automatically replies to a
message, in Python.
I was wondering If there are python modules for connecting to Yahoo!,
msn networks ...
ideally I would like to have a multithreaded module.

This is one I found for msn, if anyone has used it please comment,
- http://users.auriga.wearlab.de/~alb/msnlib/

I haven't used that, but it looks cool ;-)

If you are interested in yahoo, then here is another python application
to connect to the yahoo messenger:

http://www.nongnu.org/curphoo/

Again, I haven't tried that one, but perhaps you could just test it.

I have other links to tools based in the libyahoo2[1] package, but
unfortunately all are written in C or java. Perhaps you could find a
python wrapper in google.

Regards,
Josef
[1] http://libyahoo2.sourceforge.net

Dec 13 '05 #2
Amit Khemka wrote:
Hello,
I am trying to write an IM Bot, which automatically replies to a
message, in Python.
I was wondering If there are python modules for connecting to Yahoo!,
msn networks ...
ideally I would like to have a multithreaded module.


I have found that the best solution is to use the Jabber protocol via
xmpppy (http://xmpppy.sourceforge.net/). It's very easy to use; once
you have it working with Jabber, you can use a Jabber to Yahoo/MSN/AIM
gateway to access all the different networks without writing code for
each one.

-- David

Dec 13 '05 #3
David Wahler napisał(a):
I am trying to write an IM Bot, which automatically replies to a
message, in Python.
I was wondering If there are python modules for connecting to Yahoo!,
msn networks ...
ideally I would like to have a multithreaded module.


I have found that the best solution is to use the Jabber protocol via
xmpppy (http://xmpppy.sourceforge.net/). It's very easy to use; once
you have it working with Jabber, you can use a Jabber to Yahoo/MSN/AIM
gateway to access all the different networks without writing code for
each one.


Don't use this library, avoid it if you can. It is not actively
maintained and has numerous bugs. Guys from Gajim team can tell you
that. Patches are not even reviewed.

Use pyxmpp (http://pyxmpp.jabberstudio.org/) -- author is JSF member and
knows XMPP like noone.

--
Jarek Zgoda
http://jpa.berlios.de/
Dec 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

48
by: Joseph | last post by:
Hi I'm writing a commercial program which must be reliable. It has to do some basic reading and writing to and from files on the hard disk, and also to a floppy. I have foreseen a potential...
5
by: Jeong-Gun Lee | last post by:
I'm writing a code of writing a value to a specific memory address. ================================================================= #include <stdio.h> int main() { long air; long...
2
by: charliewest | last post by:
I've seen on some websites that email address are "hidden" and protected from "spam bots". I've inquired how this is done in HTML and ASP newsgroups, but nobody seems to know... or answer. This is...
1
by: Brian W | last post by:
I was hoping someone here would know something about screen scrapers, spiders, bots. Perhaps it's a stupid question, but here it goes anyway... Is there any way to make data harder for a screen...
2
by: Amil | last post by:
I want to track page hits, but I won't want to record when a bot (e.g. google) visits my page. I currently have the META NOFOLLOW HTML on, but that doesn't force a bot to not visit embedded links....
2
by: SirDarckCat | last post by:
Hello I have made a PHP class for making bots and webmessengers with PHP. Its use is very simple for example: This function will simply login to the .NET Passport account.. and show the...
1
by: gyung | last post by:
Are spam bots able to send out date for the server to collect and give them a session? In Firefox, when I disable ALL cookies via web developer, I'm able to block off a certain page simply by...
3
by: randommale9999 | last post by:
I was wondering how people are able to create ajax applications like star ratings scripts without having bots hit the scripts. I have a star rating script on my site which was getting hit by bots....
28
by: William Gill | last post by:
I am getting a lot of phony form submissions. I assume they are not being done manually because of the volume, but by some sort of spam-bot. I thought of putting some code in the php processing...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.