[Urwid] Pile does not support append

Keith Dart keith at dartworks.biz
Tue Jul 30 00:59:54 EDT 2013


On Tue, 30 Jul 2013 02:54:29 +0300
SHAIKH TAUSEEF HUSSAIN <tauseef at nitc.ac.in> wrote:

> $ ./highColorMode.py
> Traceback (most recent call last):
>   File "./highColorMode.py", line 28, in <module>
>     pile.contents.append((item, pile.options()))
> AttributeError: 'generator' object has no attribute 'append'

What version of python are you using?

-- 

-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Keith Dart <keith at dartworks.biz>
   public key: ID: 19017044
   <http://www.dartworks.biz/>
   =====================================================================



More information about the Urwid mailing list