Tuesday, December 2, 2008

[原创]用Python写的一个Gtalk机器人的框架

 [原创]用Python写的一个Gtalk机器人的框架

发信站: 水木社区 (Sun Apr 20 03:51:43 2008), 转信



http://code.google.com/p/pygtalkrobot/



参照了python-jabberbot:http://thpinfo.com/2007/python-jabberbot/ 的代码。



可以很方便地写出一个Gtalk 的聊天机器人,有兴趣的可以玩一下~



PyGtalkRobot: An open source gtalk robot framework in Python using XMPPPY li

brary referencing python-jabberbot.





----------------------------------------------------------------------------

----



Introduction



Instant Message(IM) bot is very convenient and helpful for users. Users can 

just type a few of words to get what they need, no need to open a browser or

 any other software.



There are many IM bots that can serve users very conveniently, for example, 

mini blog bots(such as http://fanfou.com/ ), dictionary bots( such as a Chin

ese-English dictionary bot dictman@gmail.com), RSS bots(such as anothr@gmail

.com). 



----------------------------------------------------------------------------

----



PyGtalkRobot is a framework for developing Gtalk robot very easily.



You can just write tens of lines of python code to make your own bots online

. 



PyGtalkRobot use Regular Expression Pattern as the command controller, which

 means that developers can develop very complicated command system and more 

intelligent Gtalk bots.


用Google App Engine写的一个Web Application

发信站: 水木社区 (Sun Apr 20 03:58:29 2008), 转信



http://aiassistant.appspot.com/



基于Google App Engine,Django。



页面采用了jquery的js库,jquery确实很好用~





现在只实现了一个简单的聊天界面,有兴趣的话可以看一下~







No comments: