A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/083300.html below:

Chocolate [was Re: Python Books for 2002]

Chocolate [was Re: Python Books for 2002] Chocolate [was Re: Python Books for 2002]Greg Ewing greg at cosc.canterbury.ac.nz
Tue Apr 10 22:54:09 EDT 2001
Simon Brunning wrote:
> 
> from Europe.England import beer
> 
> >   for food in dir():
> >     if food[:2] != '_':
> >       eat(food)

But beer has to be drunk, not eaten, so you'll
need

  for comestible in dir():
    if comestible[:2] != '_':
      comestible.consume()

-- 
Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:	  
http://www.cosc.canterbury.ac.nz/~greg

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4