list comprehension
Bruno Desthuilliers
onurb at xiludom.gro
Mon Jul 3 12:17:18 EDT 2006
More information about the Python-list mailing list
Mon Jul 3 12:17:18 EDT 2006
- Previous message (by thread): list comprehension
- Next message (by thread): list comprehension
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
a wrote:
> hi simon thanks for your reply
> what if i want to do this
> feed_list=[]
> feed_id=[]
> for ix in feeds_list_select:
> global feeds_list
> global feeds_id
Learn how to avoid globals first.
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"
- Previous message (by thread): list comprehension
- Next message (by thread): list comprehension
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list