Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #59316

Re: Jabberbot

Path csiph.com!usenet.pasdenom.info!aioe.org!newsfeed1.swip.net!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'returned.': 0.07; 'here?': 0.09; 'lawrence': 0.09; 'library?': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tismer': 0.09; 'python': 0.11; 'def': 0.12; 'mess,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'simulate': 0.16; 'subdirectory': 0.16; 'language': 0.16; 'wrote:': 0.18; 'library': 0.18; 'looked': 0.18; 'bit': 0.19; 'examples': 0.20; 'programming': 0.22; 'header:User-Agent:1': 0.23; 'source': 0.25; 'second': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'appreciated.': 0.29; "i'm": 0.30; 'code': 0.31; 'anyone': 0.31; 'figure': 0.32; 'but': 0.35; 'there': 0.35; 'version': 0.36; 'example,': 0.37; 'starting': 0.37; 'christian': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'world.': 0.61; 'information': 0.63; 'more': 0.64; 'different': 0.65; 'url:2007': 0.84; 'url:]': 0.84; 'received:89': 0.85
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Jabberbot
Date Wed, 13 Nov 2013 16:32:24 +0000
References <dbc0ba08-2119-42fc-88e9-93601b47d72a@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-89-240-167-12.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
In-Reply-To <dbc0ba08-2119-42fc-88e9-93601b47d72a@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2540.1384360362.18130.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1384360362 news.xs4all.nl 15903 [2001:888:2000:d::a6]:47943
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:59316

Show key headers only | View raw


On 13/11/2013 16:12, Matt Graves wrote:
> I'm using the jabberbot library and there is not a whole lot of documentation on it. Does anyone have experience with this library?
>

[snip code from http://thp.io/2007/python-jabberbot/]

> I cannot figure out how I would have it simulate a conversation. For example, if I added
>
>      @botcmd
>      def Hello(self, mess, args):
>          return "Hi, how are you?"
> 		
> how would I get it to carry on from here? To look for different answers to the response that was returned. Any bit of information would be appreciated.
>

 From the link above "More examples

Starting with version 0.7, more examples can be found in the examples/ 
subdirectory of the source distribution."

Have you looked at these?

-- 
Python is the second best programming language in the world.
But the best has yet to be invented.  Christian Tismer

Mark Lawrence

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Jabberbot Matt Graves <tunacubes@gmail.com> - 2013-11-13 08:12 -0800
  Re: Jabberbot Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-13 16:32 +0000
    Re: Jabberbot Matt Graves <tunacubes@gmail.com> - 2013-11-13 08:42 -0800
      Re: Jabberbot Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-13 16:56 +0000

csiph-web