Moving list entries from one list to another

JB jblazi at hotmail.com
Sat Jul 13 18:23:21 EDT 2002


JB wrote:

> Bengt Richter wrote:
> 
> Your idea sound very clever. I always make the mistake of
> describing my problem too abstractly. So following your
> idea with the None placeholders, I simply travel through
> list1. If an entry is celected by f, I copy it into list2,
> otherwise I do not. At the same time I maintain a counter
> for each lists for counting the entries that are not None.
> 

Well, this will not work. Following this logic, I could use 
one list and have an extra attribut. This is not what I 
need, but thank you anyway.

-- 
Janos Blazi


-----------== Posted via Newsfeed.Com - Uncensored Usenet News ==----------
   http://www.newsfeed.com       The #1 Newsgroup Service in the World!
-----= Over 100,000 Newsgroups - Unlimited Fast Downloads - 19 Servers =-----



More information about the Python-list mailing list