On Feb 21, 3:31 am, [EMAIL PROTECTED] wrote: > On Feb 19, 8:20 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > > > > > [EMAIL PROTECTED] wrote: > > > On Feb 19, 10:26 am, Wildemar Wildenburger > > > <[EMAIL PROTECTED]> wrote: > > >> Jason wrote: > > >>> Hmm. I must be the only person who doesn't think the double > > >>> underscores are ugly. > > >> Nope. I like them too. :) > > > >> Frankly, I think it's just a matter of adaption. I too found it rather > > >> "ugly" in the beginning, but with anything, I've gotten used to it. (And > > >> I wholeheartedly support your "looks like underlined / is unintrusive > > >> like whitespace" argument.) > > > >> /W > > > > My editor actually renders them as miniature chess pieces. The > > > bartender said she runs a pre-execution step, that searches and > > > replaces a double-colon with the underscores. > > > If you're taking programming advice from a bartender your postings > > suddenly start to make sense (though not, unfortunately, as comments > > about programming). Do you think perhaps yo might be trying just a > > little too hard? > > > regards > > Steve > > -- > > Steve Holden +1 571 484 6266 +1 800 494 3119 > > Holden Web LLC http://www.holdenweb.com/-Hide quoted text - > > > - Show quoted text - > > It's definitely possible. I've been hacking the code for some time, > and so far, the furthest I've gotten is: > > >>> bartender.think() > > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > AttributeError: 'Bartender' object has no attribute 'think' > > > > Any ideas?
You need to pass it a parameter for .drink() which in turn calls the .pay() function, before it can .think() -- http://mail.python.org/mailman/listinfo/python-list