mrstephengross wrote:
> 1 list1 = ['a', 'b', 'c']
> 2 list2 = []
> 3 for item in list1: list2.append(item + 'foo')
>
> Is there a way to express lines 2-3 sort-of ilke this:
>
> list2 = [ for item in list1: item + 'foo' ]
list2 = [ item + 'foo' for item in list1 ]
Paulo
--
http://mail.pyt
Jeff Schwab wrote:
> jmDesktop wrote:
>> On Mar 20, 11:21 am, Grant Edwards <[EMAIL PROTECTED]> wrote:
>>> On 2008-03-20, jmDesktop <[EMAIL PROTECTED]> wrote:
>>>
Hi, I'm trying to learn Python. I using Aquamac an emac
implementation with mac os x. I have a program. If I go to the
Jeff Schwab wrote:
> Paulo da Costa wrote:
>
>> People who say Emacs often mean GNU Emacs.
>
> That's funny; to me, Emacs usually means XEmacs. :)
Which is often a cause of confusion.
Paulo
--
http://mail.python.org/mailman/listinfo/python-list