[Urwid] Pile does not support append

SHAIKH TAUSEEF HUSSAIN tauseef at nitc.ac.in
Tue Jul 30 12:03:12 EDT 2013


I seem to have both python 2.7 and python 3 installed as given by output
below :
$ pyth
python            python2.7         python2-config    python3-2to3
python3.3m
python2           python2.7-config  python3           python3.3
python-config

but urwid library is at
/usr/lib64/python2.7/site-
packages

So I guess I am using python2.7.


On Tue, Jul 30, 2013 at 12:00 PM, <urwid-request at lists.excess.org> wrote:

> Send Urwid mailing list submissions to
>         urwid at lists.excess.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.excess.org/mailman/listinfo/urwid
> or, via email, send a message with subject or body 'help' to
>         urwid-request at lists.excess.org
>
> You can reach the person managing the list at
>         urwid-owner at lists.excess.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Urwid digest..."
>
>
> Today's Topics:
>
>    1. Re: Pile does not support append (Keith Dart)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 29 Jul 2013 21:59:54 -0700
> From: Keith Dart <keith at dartworks.biz>
> Subject: Re: [Urwid] Pile does not support append
> To: Urwid General Discussion <urwid at lists.excess.org>
> Cc: tauseef at nitc.ac.in
> Message-ID: <20130729215954.59d18a0b at dartworks.biz>
> Content-Type: text/plain; charset=US-ASCII
>
> 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/>
>    =====================================================================
>
>
>
> ------------------------------
>
> _______________________________________________
> Urwid mailing list
> Urwid at lists.excess.org
> http://lists.excess.org/mailman/listinfo/urwid
>
>
> End of Urwid Digest, Vol 92, Issue 7
> ************************************
>



-- 
Kind Regards
Tauseef Hussain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.excess.org/pipermail/urwid/attachments/20130730/f9f19efe/attachment.htm 


More information about the Urwid mailing list