convert element in a list to float

2015-09-13 Thread forums_mp
For starters, I googled and saw a plethora of writings on how to convert an entire list from string to float. My interest is on select elements in the list. The output from the print statement: print scenarioList is as follows [ '300', '"N"', '1140', '"E"' ] I need to convert

Re: convert element in a list to float

2015-09-13 Thread Laura Creighton
In a message of Sun, 13 Sep 2015 12:55:13 -0700, forums...@hotmail.com writes: > > >For starters, I googled and saw a plethora of writings on how to convert an >entire list from string to float. My interest is on select elements in the >list. The output from the print statement: print

Re: convert element in a list to float

2015-09-13 Thread Mark Lawrence
On 13/09/2015 20:55, forums...@hotmail.com wrote: For starters, I googled and saw a plethora of writings on how to convert an entire list from string to float. My interest is on select elements in the list. The output from the print statement: print scenarioList is as follows [

Re: convert element in a list to float

2015-09-13 Thread Steven D'Aprano
Hi Forums_MP and welcome, On Mon, 14 Sep 2015 05:55 am, forums...@hotmail.com wrote: > For starters, I googled and saw a plethora of writings on how to convert > an entire list from string to float. My interest is on select elements > in the list. The output from the print statement: print

Re: convert element in a list to float

2015-09-13 Thread Denis McMahon
On Sun, 13 Sep 2015 23:02:55 +0200, Laura Creighton wrote: > In a message of Sun, 13 Sep 2015 12:55:13 -0700, forums...@hotmail.com > writes: >> >>For starters, I googled and saw a plethora of writings on how to convert >>an entire list from string to float. My interest is on select elements