Re: how to compare...

2007-02-13 Thread jairodsl
On Feb 13, 4:30 am, "Gerard Flanagan" <[EMAIL PROTECTED]> wrote: > On Feb 13, 5:03 am, "jairodsl" <[EMAIL PROTECTED]> wrote: > > > > > Hello everybody ! > > > I have two list, they are, S1=['A','B','C

how to compare...

2007-02-12 Thread jairodsl
Hello everybody ! I have two list, they are, S1=['A','B','C','D','E'], and S2=['F','G','H','I','J'], but i have to compare both in this way: A vs J A vs I, B vs J A vs H, B vs I, C vs J A vs G, B vs H, C vs I, D vs J

How can i eval subindex on list[ ][ ] ?

2007-01-16 Thread jairodsl
Excuse me, i was trying in too many ways but i couldnt access subindex on a list , the problem is the next: I have indif=[[0,'A'],[1,'B'],[2,'C'],[3,'D']] and indic=[[0,'B'],[1,'C'],[2,'D'],[3,'E']] i need to eval if indic[i][j] is equal to indif[i][j] I used a double for but i had got "list

Re: Comparing a matrix (list[][]) ?

2007-01-13 Thread jairodsl
Thanks a lot, it was that i need !!! Works very good ! [EMAIL PROTECTED] wrote: > Roberto Bonvallet: > > What output are you expecting from your example matrix? If you are > > expecting > > it to be 5 (the smallest positive element), using "min" is the way to do it: > > >>> matrix = [[9, 8,

Re: Comparing a matrix (list[][]) ?

2007-01-13 Thread jairodsl
Ok, the main idea is compare each element with others elements, and go saving the minus element positive and his position (X,Y) in the matrix, of course min function dont let me save this position (X,Y). I dont know if its possible do that with min function. jDSL Roberto Bonvallet wrote: > > What

Comparing a matrix (list[][]) ?

2007-01-13 Thread jairodsl
Hi, How can I find the minus element greater than zero in a matrix, my matrix is matrix= [9,8,12,15], [0,11,15,18], [0,0,10,13], [0,0,0,5] I dont want to use "min" function because each element in the matrix is associated to (X,Y) position. Thanks a lot. jDSL -- http://mail.python.org/mailma

Re: Parallel Python

2007-01-11 Thread jairodsl
Hi, You guys forgot pyMPI, http://pympi.sourceforge.net/ It works fine !!! A little hard installation and configuration but finally works !!! Cordially, Jairo Serrano Bucaramanga, Colombia [EMAIL PROTECTED] wrote: > > > > Thus there are different levels of parallelization: > > > > 1 file/datab

Re: UPGMA algorithm ???

2006-05-02 Thread jairodsl
thank you, google works fine, but dont show me that i expect. thanks again. jDSL -- http://mail.python.org/mailman/listinfo/python-list

UPGMA algorithm ???

2006-05-02 Thread jairodsl
Hello ! I have searching this algorithm (UPGMA) writting in python, i didnt found, could anybody help me ??? Thanks a lot!!! Cordially, jDSL -- http://mail.python.org/mailman/listinfo/python-list