NotImplimentedError

2008-01-14 Thread hakim ouaras
Hi, I am begining with python, I want to know what is the utility and how to use the expression "NotImplementedError". Thak you for your answers Hakim Never miss a thing. Make Yahoo your home page.

change values of array in dictionary

2008-01-25 Thread hakim ouaras
Hi all, I have two dictionays like these: dict1={"id1":[1,2,3,4,5],"id2":[1,2,3,1,3], "var1":[10,11,12,13,14]} dict2={"id2":[1,2,3,4,], "var2":[20,21,22,23]} I want to replace the values of dict1["var1"] with those of dict["var2"] with taking count the correspondance between dict1["id1"] and dic

merge 2 arrays

2008-01-25 Thread hakim ouaras
Hi all, I have two dictionays like these: dict1={"id1":[1,2,3,4,5],"id2":[1,2,3,1,3], "var1":[10,11,12,13,14]} dict2={"id2":[1,2,3,4,], "var2":[20,21,22,23]} I want to replace the values of dict1["var1"] with those of dict["var2"] with taking count the correspondance between dict1["id1"] and dic