[Tutor] casting string to integer in a list of lists

spir denis.spir at free.fr
Fri Jan 9 16:38:37 CET 2009


Le Fri, 9 Jan 2009 06:20:26 -0800 (PST),
culpritNr1 <ig2ar-saf1 at yahoo.co.uk> a écrit :

> 
> Hello Trias and all,
> 
> Glad to see that somebody recognized the BED genomic annotation format.

> Being a relative newcomer to python, my question was if there was an ELEGANT
> way to do this casting, perhaps as a list comprehension operation. I
> wondered if the beauty of python could reach that far.


already given such a solution -- denis

> 
> I thank you all for your comments,
> 
> culpritNr1
> 
------
la vida e estranya


More information about the Tutor mailing list