By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,418 Members | 1,300 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,418 IT Pros & Developers. It's quick & easy.

to remove the items

P: 1
i have the next code;


Expand|Select|Wrap|Line Numbers
  1.         for y in range(0,len(lijst)):
  2.             if lijst[y] not in dict_ls:
  3.                 #print("lijst",lijst[y])
  4.                 dic_verwijder[lijst[y]]=""
  5.                 print(dic_verwijder,"verwijder dic")
  6.             lijst_verwijder.append(dic_verwijder[y])
  7.             print(lijst_verwijder,"verwijder")
  8.  
  9. ##                new_dic[lijst[y]]=""
  10. ##                print ("newdic",new_dic)
  11.  
  12.         #de sequentie die toegevoegd moeten worden
  13.         for y in range(0,len(dict_ls)):#toevoegen
  14.             if dict_ls[y] not in lijst:
  15.                 #print("dict",dict_ls[y])
  16.                 lijst.append(dict_ls[y])
  17.                 print("toevoeging", lijst)
  18.  
  19.  
  20.  
  21.     sys.exit() ]
  22.  

I have to remove my dic_verwijder from mine totale_reads.
can someone help me ?
Feb 4 '12 #1
Share this Question
Share on Google+
1 Reply

bvdet
Expert Mod 2.5K+
P: 2,851
eminep,

I cannot understand your code or what your question is. Please read our Bytes FAQ "How to ask a question" and repost.
Feb 5 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.