I happened to come across a similar problem at http://stackoverflow.com/questions/14693288/i-am-unable-to-get-urwid-tutorial-examples-to-work/14695915#14695915and I realised the code on the site for urwid examples are meant to be used with new urwid version whereas the version that comes with my mandriva os system is older. Now the code from the urwid tutorials link work fine.
best Tauseef On Tue, Jul 30, 2013 at 12:03 PM, SHAIKH TAUSEEF HUSSAIN <[email protected] > wrote: > 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, <[email protected]> wrote: > >> Send Urwid mailing list submissions to >> [email protected] >> >> 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 >> [email protected] >> >> You can reach the person managing the list at >> [email protected] >> >> 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 <[email protected]> >> Subject: Re: [Urwid] Pile does not support append >> To: Urwid General Discussion <[email protected]> >> Cc: [email protected] >> Message-ID: <[email protected]> >> Content-Type: text/plain; charset=US-ASCII >> >> >> On Tue, 30 Jul 2013 02:54:29 +0300 >> SHAIKH TAUSEEF HUSSAIN <[email protected]> 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 <[email protected]> >> public key: ID: 19017044 >> <http://www.dartworks.biz/> >> ===================================================================== >> >> >> >> ------------------------------ >> >> _______________________________________________ >> Urwid mailing list >> [email protected] >> http://lists.excess.org/mailman/listinfo/urwid >> >> >> End of Urwid Digest, Vol 92, Issue 7 >> ************************************ >> > > > > -- > Kind Regards > Tauseef Hussain > > -- Kind Regards Tauseef Hussain
_______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
