Re: [Tutor] Weird situation in using .split() function

2005-11-29 Thread Kent Johnson
Srinivas Iyyer wrote: > Hello group: > > I have a list t and the elements are tab limited. > there are 2 columns: > t > > ['STAG2\tmiR-101', 'SMARCA1\tmiR-101', > 'RAP2C\tmiR-101', 'DDX3Y\tmiR-101', > 'AGRN\tmiR-101\tmiR-144', 'EPB41\tmiR-101\tmiR-144', > 'PUM1\tmiR-101\tmiR-144', > 'KIAA15

Re: [Tutor] Weird situation in using .split() function

2005-11-29 Thread Eric Walker
The first few are out of range. Only have one \t so you only get col[0] and col[1] ['STAG2\tmiR-101', 'SMARCA1\tmiR-101','RAP2C\tmiR-101', 'DDX3Y\tmiR-101', Srinivas Iyyer <[EMAIL PROTECTED]> wrote: Hello group:I have a list t and the elements are tab limited. there are 2 columns:>>>t['STAG2\tmiR-

[Tutor] Weird situation in using .split() function

2005-11-29 Thread Srinivas Iyyer
Hello group: I have a list t and the elements are tab limited. there are 2 columns: >>>t ['STAG2\tmiR-101', 'SMARCA1\tmiR-101', 'RAP2C\tmiR-101', 'DDX3Y\tmiR-101', 'AGRN\tmiR-101\tmiR-144', 'EPB41\tmiR-101\tmiR-144', 'PUM1\tmiR-101\tmiR-144', 'KIAA1573\tmiR-101\tmiR-144', 'ST6GALNAC3\tmiR-101\tmi