Re: [BangPypers] [JOB] Looking for a Python/Django developer

2010-07-13 Thread Kenneth Gonsalves
On Monday 12 July 2010 15:11:38 vijay wrote: > spearhead the development of a next generation Purchase Order and Vendor > Management system. > just curious - what is this generation Purchase Order and Vendor management system and how does it differ from the next generation? -- Regards Kenneth

[BangPypers] nested list question

2010-07-13 Thread Vikram
Suppose you have two nested lists, X and Y. A sample element of X is: ['NM_032291', '6741', '6751', 'chr1', '+'] Another sample element of X is: ['NM_001097', '51183080', '51183635', 'chr22', '+'] A sample element of Y is: ['chr1', '6746'] Another sample element of Y is: ['chrY',

Re: [BangPypers] nested list question

2010-07-13 Thread Pradip P Caulagi
On Tue, Jul 13, 2010 at 02:30:41PM -, Vikram wrote: > Suppose you have two nested lists, X and Y. > A sample element of X is: > ['NM_032291', '6741', '6751', 'chr1', '+'] > > Another sample element of X is: > ['NM_001097', '51183080', '51183635', 'chr22', '+'] > > > A sample eleme

Re: [BangPypers] nested list question

2010-07-13 Thread Nitin Kumar
I think you can very well use map function map (function, list1, list2) where in function you can create your desired list. What map will do is it will call function for each element from list1 and list2 (same indexed) and will do the stuff defined in the function. Do let me know if i am close to

Re: [BangPypers] nested list question

2010-07-13 Thread Shashwat Anand
On Tue, Jul 13, 2010 at 8:00 PM, Vikram wrote: > Suppose you have two nested lists, X and Y. > A sample element of X is: > ['NM_032291', '6741', '6751', 'chr1', '+'] > > Another sample element of X is: > ['NM_001097', '51183080', '51183635', 'chr22', '+'] > > > A sample element of Y is: >

Re: [BangPypers] nested list question

2010-07-13 Thread Shashwat Anand
On Wed, Jul 14, 2010 at 9:01 AM, Shashwat Anand wrote: > > > On Tue, Jul 13, 2010 at 8:00 PM, Vikram wrote: > >> Suppose you have two nested lists, X and Y. >> A sample element of X is: >> ['NM_032291', '6741', '6751', 'chr1', '+'] >> >> Another sample element of X is: >> ['NM_001097', '5

Re: [BangPypers] nested list question

2010-07-13 Thread Srinivas Reddy Thatiparthy
>map (function, list1, list2) where in function you can create your desired >list. List comprehensions are preferred to map and filter functions.In fact, filter is a syntactic sugar to list comprehension. Regards, Srini T. --When you are playing cricket, you should hit the ball out of the gro